Register
It is currently Thu Dec 18, 2014 10:54 pm

ssh script


All times are UTC - 6 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Sat May 29, 2010 7:31 pm   

Joined: Wed Nov 26, 2008 7:43 pm
Posts: 50
Location: Texas
Hi everyone,

I'd like to run connect remotely to a machine through ssh through a script, but without entering the password as I need to make some scripts that do this.

I have right now an alias of this manner:

alias sshmac="ssh 192.168.2.102 -l user"

but it still asks for password and the script won't be able to enter it.

Any help appreciated,
Ted.


Top
 Profile  
 PostPosted: Sat May 29, 2010 9:42 pm   

Joined: Mon Mar 02, 2009 3:03 am
Posts: 579
well, it's not a bash matter.

seach the web for "passwordless ssh connection ssh-keygen howto"...


Top
 Profile  
 PostPosted: Tue Jun 08, 2010 11:09 am   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 673
Location: Des Moines, Iowa
http://www.thegeekstuff.com/2008/06/per ... n-openssh/


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP