cs35Llog9 - >mkdir .ssh 5. Logout from the SSH...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
====================Server Side=================== 1. Become root user >su 2. Obtain server IP address >ifconfig 3. Add user >adduser test 4. Generate the ssh_host key >ssh-keygen -f /etc/ssh/ssh_host_key 5. Generate the ssh_host_rsa key >ssh-keygen -f /etc/ssh/ssh_host_rsa_key 6. Generate the ssh_host_dsa key >ssh-keygen -f /etc/ssh/ssh_host_dsa_key 7. Start the SSH system service >/usr/sbin/sshd 8. Verify that the SSH service is working >ps -aux | grep sshd =======================Client Side====================== 1. Verify that that SSH service can be remotely accessed >ssh test@ 2. Add host into the list of known hosts >Are you sure you want to continue connecting (yes/no)? yes >Warning: Permanently added '' (RSA) to the list of known hosts. 3. Login with password >Password:*** 4. Create the .ssh directory for later use
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: >mkdir .ssh 5. Logout from the SSH server >lougout 6. Create client DSA public key >ssh-keygen -t dsa -b 1024 -f ~/.ssh/id_dsa 7. Provide no passphrase for the dsa key >Generating public/private dsa key pair. >Enter passphrase (empty for no passphrase): >Enter same passphrase again: >Your identification has been saved in /root/.ssh/id_dsa >Your public key has been saved in /root/.ssh/id_dsa.pub The key fingerprint is: b3:84:76:86:7a:f8:87:d2:a1:13:30:0d:fa:da:0c:44 root@Knoppix 8. Copy the Client's DSA Public key onto the SSH host >scp ~/.ssh/id_dsa.pub test@ >Password:*** id_dsa.pub 100% 602 0.6KB/s 00:00 9. Verify that the Client Private key is functional by re-logging-in >logout >ssh test@
View Full Document

This note was uploaded on 06/02/2009 for the course CS 35L taught by Professor Eggert during the Spring '09 term at UCLA.

Page1 / 2

cs35Llog9 - >mkdir .ssh 5. Logout from the SSH...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online