bypass password authentication for sftp in unix


 
Thread Tools Search this Thread
Operating Systems Solaris bypass password authentication for sftp in unix
# 1  
Old 07-07-2010
bypass password authentication for sftp in unix

I am using solaris unix 8.2 version. I want to bypass password authentication for sftp. Can you please give some ideas on this. thanks.Regards.
# 2  
Old 07-07-2010
You can go for ssh key exchange for the ID you will be using for sftp.
# 3  
Old 07-07-2010
SSH key exchange

Hi,

Thanks for your mail. Are you talking about this script .give me reply.thanks,regards.

a) Logged in Server A with user Id 'informat' and corresponding passowrd.Home directory is '/opt/informatica'

b) Created the keys in server 'A' with the following command.
/user/local/bin/ssh-keygen -t rsa

c) Copied the public key in id_rsa.pub file under /opt/informatica/.ssh directory of server 'A'

d) Copied the 'id_rsa.pub' file to 'authorized_key' file in /opt/informatica/.ssh directory in server 'B'

e) Grant 777 privileges to authorized_key file in server 'B'

f) Logged into server 'A' with 'informat' user ID

g) Executed the sftp command for server B
sftp informar@B
# 4  
Old 07-07-2010
You're right!Smilie
# 5  
Old 07-07-2010
sftp client

We have to run sftp client at unix end right. any suggestion on this client sftp suggestion. there are 2 steps only right.
install sftp client in unix end
do the password authentication.

other than that any steps need to do unix end to use sftp to connect outside. please give me reply .thanks.regards.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

For SFTP connection - How to give password in UNIX Script (ksh)

Hi, I am not able to give the password in Unix script for SFTP connection. When I am trying to manully SFTP command for accessing the server , it asking for pwd and I could provide the pwd but I am not getting how to provide the pwd inside the Unix script. sftp -v user@xyz.com. ... (4 Replies)
Discussion started by: Vineeta Nigam
4 Replies

2. Shell Programming and Scripting

Script to bypass the password field

Hello all Im trying to write a script that can get past the "enter password" field.Coming to the details, Im planning to write a script that can actually check for the validity of certificates in websphere. There is a utility "keytool" that helps provide this information.However if we want to... (4 Replies)
Discussion started by: coolkid
4 Replies

3. Shell Programming and Scripting

sftp using password not working in unix

Sorry to post this thread as it has been asked several times. But my question is that I need to write a shell script to transfer a file from machine A to machine B using sftp. I generated pvt-pub key pair and put pub key in machine b and lso make the pub file's permision 600. .ssh directory... (1 Reply)
Discussion started by: vsachan
1 Replies

4. Solaris

root password for system maintenance (control-d to bypass)

I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up. Why it appears ? thx for help. (3 Replies)
Discussion started by: presul
3 Replies

5. Cybersecurity

authentication bypass vulnerability

what does it mean? I searched in google but I could not find a clear document that explain to me what does it mean. (1 Reply)
Discussion started by: programAngel
1 Replies

6. Solaris

can't bypass password authentication

I can able to SFTP from my web server unix to apps server unix end. but the other way from APPS server to Web server is still asking me the password. I have done same procedure both side. still i am having same problem. Any one help on this. thanks, regards (3 Replies)
Discussion started by: vijill
3 Replies

7. UNIX for Advanced & Expert Users

Sftp Key Authentication Issue

Hello, We have an issue attempting to login from a Unix Solaris to an NT server using key authentication. I will attempt to provide you with as much of the relevant information regarding the way the system is set up, although I'm workingin solely on the Unix side, so don't have full access to... (3 Replies)
Discussion started by: SteveBurch
3 Replies

8. HP-UX

sftp/scp/ssh script with password as authentication

Hello, Do you guys know set of commands that can incorporate to sftp/scp/ssh to add password in a script to automate file transfer. Our client is not using ssh keys authentication so we are force to create a script to pass the password into the script to transfer files via sftp/scp/ssh. We... (4 Replies)
Discussion started by: james_falco
4 Replies

9. Shell Programming and Scripting

How can I bypass the Prompt in SFTP

I am on a sun solaris server and trying to create a script that will test if SFTP is up and running on a remote server (which could be unix or windows). My thought was to simply invoke sftp and if I get the prompt ofr "Password" then that is an indication that the service is running and I am... (2 Replies)
Discussion started by: pierluigi22
2 Replies
Login or Register to Ask a Question