:: [etc] Using SSH command ::
HOME


[Date Prev][Date Next][Date Index]

[etc] Using SSH command


(probably this is old. I will need to update this information)
More information on SSH at site

http://www.suso.org/linux/tutorials/ssh.phtml

in brief use commands in the following seq.
(Assumed the ssh has been set up already)

1. ssh-keygen
This will ask for a phrase and genrate a key of the form
1024 35
1549149626843484365029847659056740831818040065927175098007593305550532268388
9929738799038143393761852566394671792601381438949120388700631114641594658368
9935705698870324417493272937617380840736433326014895118129444616349870603040
5055248634318626019127057622303002707316692914238568700461213290492567847481
03671
csptest@quark.evl.uic.edu

this will be saved in .ssh/identity.pub


2. ssh in to the remote machine u want.

ssh -l <user_id> machine.name

The first time it will ask some authentication passwd

once u get in go to
.ssh
and create a file called authorized_keys
paste the abobe key in this file

use the commnds
chmod 700 .
chmod 600 *
to change permissions

exit from this machine
the next time u can directly log in..

SCP can be used as fllowa


scp myfile alpha.evl.uic.edu:dir_name

Regards
Shashank





Comments and corrections are appreciated and can be sent to papers@mia.ece.uic.edu. Click here for ©opyright information.