Tag Info

Hot answers tagged

7

As mentioned in the comment, you're using an encrypted home directory, and are likely using pam_mount to mount it. pam_mount mounts the partition using the password acquired during login. Since you're trying to log in via ssh public keys there are 2 issues: There is no password being sent during public key authentication, so it can't mount your home ...


2

Haven't looked at the code, but: ECDSA host keys are preferred when learning a host's keys for the first time, or can be learned using ssh-keyscan(1). Source: http://openbsd.das.ufsc.br/openssh/txt/release-5.7


1

dbus-send needs some evironment variables to connect to the dbus-session. First you need to estimate them. First ssh to your machine. The $DISPLAY variable: DISPLAY=$(strings /proc/$(pgrep -n Xorg)/environ | awk -F== '$1 ~ "DISPLAY"{print $2}') The dbus session variables: source ~/.dbus/session-bus/$(cat /var/lib/dbus/machine-id)-0 Now you can place ...


1

The professional approach is to equip systems with specific hardware that allows out-of-band management, a solution to access and manage the server when normal remote management fails (i.e. when SSH fails or RDP sessions can't be established). Solutions differ from KVM (over IP) that connect the systems USB port and graphics cards to IPMI and built-in ...


1

When you do: ssh serva -t "source ~/.bashrc" ssh tells sshd to invoke the login shell of the remote user as: the-shell -c 'source ~/.bashrc' That tells the-shell to run that command and exit. Probably, what you want is to run an interactive shell and have that interactive shell to run that source ~/.bashrc command and then to issue a prompt and read ...


1

For me I needed GSSAPI and I didn't want to turn off reverse DNS lookups, that just didn't seem like a good idea so I checked out the man page for resolv.conf. It turns out that a firewall between me and the servers I was SSHing to was interfering with DNS requests because they weren't in a form that the firewall expected. In the end all I needed to do was ...


1

I had a similar task, in my case I could not use rsync, csync, or FUSE because my storage has only SFTP. rsync could not change the date and time for the file, some other utilities (like csync) showed me other errors: "Unable to create temporary file Clock skew detected". If you have access to the storage-server - just install openssh-server or launch rsync ...



Only top voted, non community-wiki answers of a minimum length are eligible