- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Encrypted Password in ftp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 11:31 PM
тАО12-04-2007 11:31 PM
Encrypted Password in ftp
Is it possible to use encrypted passwd in ftp.
For example,
USER=user1
PASS="passwd" # Currently it in plain text, need
# to use the encrypted string.
ftp -n ftp_server <
put filename.txt
bye
EOF
Kindly show some pointers for the same.
Regards,
Raghu
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 11:49 PM
тАО12-04-2007 11:49 PM
Re: Encrypted Password in ftp
That's probably the same level of security of rcp with .rhosts.
I don't think you can do this. You can put your password in a .netrc file.
- Tags:
- .netrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 11:53 PM
тАО12-04-2007 11:53 PM
Re: Encrypted Password in ftp
the .netrc file is alsow useble, but then the passwd is in plain tektst in the users home dir.
sorry ftp is just not secure...
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 04:05 AM
тАО01-03-2008 04:05 AM
Re: Encrypted Password in ftp
You can keep the user name and password in an encrypted file created by crypt command.
For details check the man page of crypt.
If you want more assistance, let me write.
Rgds
-NKG-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 09:12 AM
тАО01-03-2008 09:12 AM
Re: Encrypted Password in ftp
> ftp.
Not really. You're talking to an FTP server,
and it almost certainly wants a plain-text
user name and password.
> You can keep the user name and password in
> an encrypted file created by crypt command.
And then you have to deal with the "crypt"
password. What's the point?
If you want to avoid using a plain-text
password, then you _should_ be asking how to
transfer a file without using FTP. You don't
seem to like suggestions to use SFTP, so it's
not clear what will make you happy. Perhaps
you should begin again, and state the actual
problem to be solved, and your actual
requirements and restrictions. This often
works better than asking how to implement
some impossible part of a bad solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 09:24 AM
тАО01-03-2008 09:24 AM
Re: Encrypted Password in ftp
if you dont want to put the password in the script you can use the .netrc file and specify a switch with the ftp command ( see the man page )
as far as security goes I would not use this method however I would configure either sftp or scp using the ssh protocols etc.
hth
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 10:13 AM
тАО01-03-2008 10:13 AM
Re: Encrypted Password in ftp
Use sftp instead, setup keys to allow login without a password. (that way you don't have to embed the password in a script!).
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 05:58 PM
тАО01-03-2008 05:58 PM
Re: Encrypted Password in ftp
While ftp is the most common protocol available for exchanging files, it is no longer useful in today's security environments. If the password is a concern, then the data is probably important and must be protected. The only compatible file transfer that is secure for both login/password as well as data is ssh (and it's siblings scp and sftp). You can download ssh from HP at software.hp.com.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 07:00 PM
тАО01-03-2008 07:00 PM
Re: Encrypted Password in ftp
Thanks for the pointers.
I have used sftp in place of ftp by exchanging the keys.
Regards,
Raghu.