SilverWav's Journal

The best is yet to come…

Posts Tagged ‘ssh

SSH Is Easy! Linux’s best kept secret.

leave a comment »

Read this first SSH: An Easier-Than-You-Thought Tutorial by Paul Arnote (parnote)

I had no problem with this:

ssh -l paul_lenovo

-l (small L) logs the listed computer as a trusted computer, and we only have to do this once (per remote machine, per local machine).

though to log-out I used “logout” not “~.”


ssh -v remote_account_name@remote_ip_address

…worked fine!


ssh -v -X remote_account_name@remote_ip_address

gave me an error:

X11 forwarding request failed on channel 0

This turned out to be because IPv6 was disabled:

$ sysctl net.ipv6.conf.all.disable_ipv6
$ net.ipv6.conf.all.disable_ipv6 = 1

The easy answer was:

1) Adding the following to your sshd_config (/etc/ssh/sshd_config)
AddressFamily inet
2) Restart SSH

Hell Yeah!

Typed “thunar” and after a brief delay there was my remote file manager forwarded to my desktop.

Sheer magic.


Ensure you have OpenSSH client and the OpenSSH server installed.

sudo nmap -sP scans your network and lists all of your devices.


Written by SilverWav

August 27, 2013 at 9:48 pm