[clug-talk] SSH trick

Travis Rousseau unleashed at unleashedgamers.com
Sat Jan 29 23:34:11 PST 2005


This is probably even more common knowledge than what shawn said but if 
you are always loging into a remote box with ssh you can make it so you 
login without it prompting you for a password.

$ ssh-keygen -t rsa

$ ssh server "mkdir .ssh; chmod 0700 .ssh"
$ scp .ssh/id_rsa.pub server:.ssh/authorized_keys2


Travis R.

Shawn wrote:
> I'm not completley sure, but I don't think so.  If I'm understanding the 
> process properly, the xwindows server on the remote box does all the work, 
> then passes the results to the display.  In this case you've asked for the 
> display to be on your local box....
> 
> I was trying this out with Yast on the rack mount server that I was building.  
> The data and speed of the resulting window was very specific to that server, 
> not my local computer....  So I think this is added proof....
> 
> Someone please correct me if I'm wrong....
> 
> Shawn
> 
> On Sunday 30 January 2005 00:09, Niels Voll wrote:
> 
>>don't you need x windows on the local machine?
>>
> 
> 
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying




More information about the clug-talk mailing list