ssh: connect to host XXXX port 22: Connection timed out
I have been playing with this for awhile now and I am ready to go postal.:scratch:
I just want to move some files around and potentially rsync my net book with my desktop as well as learn the software (my primary reason) Steps Taken. Set Static IP address to machines on LAN Turned on Port Forwarding (22) Added Rule to UFW allow 22/TCP Any support in helping me avoid multiple life sentences will be appreciated. ..LOL :D |
It would be helpful to know what OS's (and distros, if applicable) you are using. What is UFW? Unless you are traversing a firewall, port forwarding is not required.
The basic ingredients you will need are a ssh server and ssh client. On Linux, these are almost certainly installed by default. The ssh server may need to be started. On many systems, you can do this with a command like (as root): Code:
/sbin/service sshd start Code:
ssh somevaliduser@localhost Code:
ssh somevaliduser@192.168.X.X It may be useful to you to use X tunneling to the ssh server host, so you can easily run X applications on the ssh server host, and get the display on your ssh client/X-server host. --- rod. |
As theNbomr indicated, it sounds like you aren't running a SSH server on your machines (yet). Any linux client can use ssh to connect to other machines, but only if they're running a ssh server. Many (most?) distributions have sshd installed by default, but if not, it's easy to install (in Debian it's just apt-get install openssh-server).
Hope that helps! |
Thanks for the help. Server was not set up on the hosting machine. Awesome -> Now I have easy way to back up my net book. :)
|
All times are GMT -5. The time now is 04:24 AM. |