There was traditionally two kinds of authentication. RSA and DSA. RSA should not be used any more. Public key authentication can only be established on a per system / user basis only i.e. it is not system wide. You will be setting up ssh with DSA public key authentication for SSH version 2 on two machines.
Note: you will need to be able to use the command line/terminal for this project.
Note: For both the server and the client port 22 should be changed to some number above 1024 that is an unused port. Both numbers must be the same unless you are an advanced user, Other settings should be changed as well. (i.e. disable root access)
$ sudo vim /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
The nmap command is a good way remotely to determine what ports are being used. You may like this instructable also: http://www.instructables.com/id/Linux-screen-play/
Remove these ads by
Signing UpStep 1: What do you need?
#1 machine : Client machine with ssh installed
$ sudo apt-get update
$ sudo apt-get install ssh
#2 machine : A remote server with ssh and openssh-server
$ sudo apt-get update
$ sudo apt-get install ssh openssh-server
Note: I usually add openssh-server to all machines except those I do not want there to be ssh access.
Computothought (author) says:
Jan 29, 2012. 1:03 AMReply























Not Nice


















Visit Our Store »
Go Pro Today »



