[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ssh tutorial



gmspro wrote:

> 
> Thank you.
> Can you give a specific example of
> 
> ssh yourserver
> 
> What would be the "yourserver"?

1) You could use the IP address of the machine you are trying to connect to,
eg
	ssh 192.168.1.4

2) Or if you have the name of the machine in your /etc/hosts 
you could use that, eg

	ssh joe

3) Or you could give the complete name of the machine, eg

	ssh maths.tcd.ie

(Nb This won't work because you don't have an account on this machine,
and even if you did you would have had to somehow get your public key,
generated with "ssh-keygen", into your .ssh directory on this machine.
In other words, you need the blessing of the person 
running the remote machine.)

>> > Here
>> > yourname=linux user account  // Am i correct?
>> > yourserver=??
>> 
>> No.
>> ssh -l yourusername yourserver
>> Or just
>> ssh yourserver
>> 
>> if the user name is the same on both machines.

Note.
I was wrong in saying that "ssh yourname yourserver" would not work.


-- 
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin, Ireland



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]