Ssh can be used as a replacement for telnet, rlogin, rsh, and rcp. There may be some additional dialogues about host keys, but most of those are already set up for you, and require no additional thought on your part. This table gives the equivalent ssh command for the ones that you have been using.
| telnet host (followed by a prompt for a userid) | ssh -l userid host |
| rlogin host | slogin host (or ssh host) |
| rsh host command | ssh host command |
| rcp remote-file local-file | scp remote-file local-file |
If you are used to do xhost +csfsun.rl.ac.uk on your local machine you can also take that away as ssh do not use it and it poses a security problem.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the host key has just been changed. Please contact your system administrator.This is normally caused by a change of the hardware you connect to but if you are not aware of any changes this is a warning you should take seriously.
To get rid of the warning and be able to use X11 connections again you go into your .ssh/known_hosts and delete the long line that starts with the host you connect to. The lines in this file are very long. Take care not to break the other lines with your editor. If you have a system-wide known_hosts file you might need to get your system administrator to do this.