make an sftp account


 
Thread Tools Search this Thread
Operating Systems Solaris make an sftp account
# 1  
Old 09-19-2009
make an sftp account

Hi All,
My application is connecting to a no of sites to get or put files.
one script is using sftp user1@host1
to log into the account to put some files over there.But some other scripts are connecting to some other sites using
ftp host2
user user2 passwd
inside the script.But I have to make all these ftp into sftp so that I can use the password less connection to the romote machine.

thanks & regards
Megh
# 2  
Old 09-21-2009
Using a ~/.netrc file will enable you to use passwordless ftp although the username and password will still pass over the network in plain text.

Take a look at:
Unix -> .netrc
for an explanation of using the .netrc file for ftp.

If you wish to use sftp then the servers need to have SSHD running on them.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Simultaneously try to execute commands after connecting to remote account to one account

I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands. ssh $ACCOUNT_DETAILS@$HOST_DETAILS cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies

2. UNIX for Dummies Questions & Answers

How to make each login shell history independent for same account?

Hello All, Many developers in our company use same application account to log in Linux Box for code development, how can i redirect my log in shell history to a different file to avoid history being shown to others or accidentally execute the same command which i or others executed? Thank you. (4 Replies)
Discussion started by: Ariean
4 Replies

3. Linux

SFTP Account how to setup

Hi I have setup an sftp account user my problem is,I want this sftp user will be able to access /export/home/sftp/Information folder only and its subdirectory. However when i tested out via winscp the sftp user account is able to access/see other directories which i dont want to happen. ... (1 Reply)
Discussion started by: kaibiganmi
1 Replies

4. UNIX for Advanced & Expert Users

Link from mount point to sftp account of file system

Hi, Is it possible to do hard link between the mount point of file some structure to the sftp account of some other server ? If possible then what could be the behavior of link properties? Is it could be the same as we found in our environment (unix/linux). Even if we do such link , then it... (1 Reply)
Discussion started by: posix
1 Replies

5. Shell Programming and Scripting

how i can make one ip access to ftp account and deny others

HI I want to make only one IP can access to ftp acount in cpanel or by shell can any body help me ? (1 Reply)
Discussion started by: elkadrey
1 Replies

6. Solaris

To make ftp an sftp?

Hi All, I want to make ftp for a particular server(ip ,user/passwd) sftp . Regards Megh (2 Replies)
Discussion started by: megh
2 Replies

7. UNIX for Dummies Questions & Answers

Change Account to not lock account if password expires

I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired. I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies

8. UNIX for Advanced & Expert Users

SCP / SFTP successful but locks out target account

Hi, We have an interesting problem with F-Secure SSH (v 3.1.0) running on HP-UX. It seems that when scp or sftp commands are issued they are successful but it counts as a 'strike' against the target user locking the account out after 3 attempts. When the user is re-enabled in SAM - it reports... (4 Replies)
Discussion started by: b0bbins
4 Replies

9. UNIX for Dummies Questions & Answers

Make an account inactive after 90 days.

Is this possible? Say I create an account today and in 90 days I want it to be turned off. Is this sort of thing possible using the built in components of a Unix system? (Using Solaris 9) I see things about password expires, but what if the person changes his password on the 89th day,... (1 Reply)
Discussion started by: LordJezo
1 Replies
Login or Register to Ask a Question