The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
authorized_keys and passwordless login mcrouch_2003 Linux 6 05-09-2008 10:28 AM
Cannot login via telnet or ssh to AIX 5.2 server pdtak UNIX for Advanced & Expert Users 5 04-10-2008 02:16 PM
How to know which user id had login the server? rainbow_bean AIX 1 12-20-2007 12:33 PM
who is login to server mm00123 UNIX for Advanced & Expert Users 2 07-15-2007 04:45 AM
Dual login to FTP server. sri UNIX for Advanced & Expert Users 6 10-05-2001 08:27 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: May 2008
Posts: 6
Thumbs down passwordless login from a server to another server

Hi guys

I am logged into one solaris server and I want to ssh other solaris servers and perform some commands. If I use script it asks for password. How to login without supplying password and execute some commands using script? I don want to use expect utility. Please help
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-16-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,688
If ssh public-key authentication is available, look at ssh-agent and the related documentation.
Reply With Quote
  #3 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: Aug 2001
Location: germany, bavaria
Posts: 38
Hi Johnl,

you can take passwordless entry to another box by using passphrases and authorized_keys.

man ssh

Regards,

Frank
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0