The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages 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 Red Hat 6 05-09-2008 01:28 PM
Cannot login via telnet or ssh to AIX 5.2 server pdtak UNIX for Advanced & Expert Users 5 04-10-2008 05:16 PM
How to know which user id had login the server? rainbow_bean AIX 1 12-20-2007 04:33 PM
who is login to server mm00123 UNIX for Advanced & Expert Users 2 07-15-2007 07:45 AM
Dual login to FTP server. sri UNIX for Advanced & Expert Users 6 10-05-2001 11:27 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-16-2008
johnl johnl is offline
Registered User
  
 

Join Date: May 2008
Posts: 15
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
  #2 (permalink)  
Old 05-16-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

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

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

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

man ssh

Regards,

Frank
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0