10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
I have specific requirement where I want to pass the password with the ssh username@hostname command .
I dont want to use RSA public and private keys also. Because that will be on production server and no one wants to give access like that.
Second thing it is production... (14 Replies)
Discussion started by: sharsour
14 Replies
2. Shell Programming and Scripting
I want to do following 2 commands via script:
1) eval `ssh-agent`2) ssh-add /export/home/sufuser/.ssh/id_rsa When asked for passphrase enter "passwordpassword1234
but whenever I run the script it stucks after "ssh-add /export/home/sufuser/.ssh/id_rsa" command and asks fro... (4 Replies)
Discussion started by: yogeshpawar
4 Replies
3. UNIX and Linux Applications
Hi All,
I am trying to do SFTP without passing the password.
I did it by generating the Key pair on both source and destination servers but the problem is My script is running with BATCHADM user whereas I am doing SFTP using another username (sftp user1@destinationServer) due to which it is... (3 Replies)
Discussion started by: kaurr06
3 Replies
4. Shell Programming and Scripting
Hello,
I need to find a way to connect from server1 to 30 other servers using a single line command in order to run various command from the other 30 servers.
I am looking for a single line connection command in which i can provide the server name user name and password and connect to the... (2 Replies)
Discussion started by: LiorAmitai
2 Replies
5. Shell Programming and Scripting
Hi all,
I have the expect binaries in our boxes..
I want to pass a passwd to a command automatically without manual intervention using "/<path_of_expect>/expect/<version>/bin/autopasswd"
The below command will ask passwd in my script
cleartool rmtag -all <vob_tag>
#Some... (4 Replies)
Discussion started by: raghu.iv85
4 Replies
6. UNIX for Dummies Questions & Answers
I have 3 Solaris 10 UNIX servers, the shadow and passwd file are all identical and are automatically sync every 5 minutes. A majority of the users do not have CLI access but rather use a menu. I currently have menu options that allows them to rlogin to another server and I need to have the... (1 Reply)
Discussion started by: creedonjm
1 Replies
7. Shell Programming and Scripting
ssh/sftp login by passing password , is it possible.Don't want to expect. (1 Reply)
Discussion started by: dinjo_jo
1 Replies
8. UNIX for Advanced & Expert Users
Hi
I am running unix commands through Oracle, but I want to be able to run sftp which oracle cannot use. What I want to do is run a script which runs as oracle user but has the su command in, to connect as another user that has sftp access. I am trying the below.
su - dwintuser -c gary.ksh... (2 Replies)
Discussion started by: colesga
2 Replies
9. UNIX for Dummies Questions & Answers
Is the following even possible ? by echo $3, I mean enter password when prompted for it. My main issue is that it would deal with a prompted password, which is passed from the command line like this:
./processing serverA user password
I cannot not use expect here, I heard that was very... (1 Reply)
Discussion started by: seaten
1 Replies
10. Shell Programming and Scripting
Hi,
How do I pass the password from a csh script when I su to a different user ? ( Root is not running this script )
Thanks (1 Reply)
Discussion started by: ayeger
1 Replies