SSH HELP how to connect auto? | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

SSH HELP how to connect auto?

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-17-2013
zigizag zigizag is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 24 April 2013, 3:39 AM EDT
Posts: 28
Thanks: 18
Thanked 0 Times in 0 Posts
SSH HELP how to connect auto?

hi,

i have some servers on my network.

i need to connect to them auto from my work station sith SSH.

i need to write a script thet connects to the server with USERNAME and PASSWORD automticly.

and on each server to kill process.

in my sciprt i want to put all list the IP of my servers.

10x!!
Sponsored Links
    #2  
Old 01-17-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 19 December 2014, 8:06 AM EST
Location: NM
Posts: 10,310
Thanks: 295
Thanked 821 Times in 763 Posts
You have to install ssh-keys. This allows passwordless connection. ssh was written to deliberately subvert what you are trying to do.

ssh-keygen: password-less SSH login

In windows you have to use Puttygen to create your keys:
PuTTY Download Page
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VPNC auto connect shell script dsax64 Shell Programming and Scripting 0 03-30-2010 07:33 PM
ssh auto-logout daya.pandit Linux 4 12-29-2008 03:54 AM
auto SSH help, I did STFW/RTFF cititester UNIX for Dummies Questions & Answers 0 03-02-2006 09:00 AM
auto-connect with out .netrc file getgopu25 Shell Programming and Scripting 1 06-10-2005 04:10 AM
trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6) falklandtim Solaris 6 03-01-2005 08:45 AM



All times are GMT -4. The time now is 12:26 PM.