Computing.Net > Forums > Unix > sftp command in Unix

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sftp command in Unix

Reply to Message Icon

Name: shahzin
Date: August 11, 2006 at 04:27:25 Pacific
OS: Unix
CPU/Ram: P4/256
Product: Dell
Comment:

hello friends,
how to run sftp thgh programming language. like user command of ftp is there anything similar in sftp so that i can login without being prompted for password.

What are the options available with sftp so that i can give password with it. My requirement is to login with sftp such that i can give hostname, user, password along with sftp command. i should not be prompted for password.

It is required for a batch file

Regards

Shahzin




Sponsored Link
Ads by Google

Response Number 1
Name: anekant
Date: September 13, 2006 at 07:38:03 Pacific
Reply:

I have same problem. I am trying to run sftp in batch mode where password can be passed from script not interactively. I heard you can use 'expect' command to pass password. I do not know how.

Anekant


0
Reply to Message Icon

Related Posts

See More


how to send mail from uni... Sending an attachment usi...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: sftp command in Unix

SA2 Command in Unix www.computing.net/answers/unix/sa2-command-in-unix/1767.html

how to read binary files in Unix www.computing.net/answers/unix/how-to-read-binary-files-in-unix/4566.html

How do i recover a deleted file in unix? www.computing.net/answers/unix/how-do-i-recover-a-deleted-file-in-unix/2325.html