DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-11-06 22:44:13

Gio
New member
Registered: 2010-11-06
Posts: 1

Regarding funplug sftp - No Private Keys Needed?

Hello,

I am very limited in my knowledge of Linux/SSH/SFTP stuff so please bare with me. I followed this guide http://dns323.kood.org/howto:vsftpd to install VSFTP. Everything pretty much works however I am a little concerned as to how easy it was. My understanding of sftp is that when you remotely log in you need to have your private key file on the system that your logging in from. However, I've tried in two different places 1) using FireFTP outside the network and 2) using an Android phone .. and I am able to log in without specifying "Private Key". Is it supposed to work this way?

In the VSFTP setup there are a few lines I noticed:
#file to keep all users able to access ftp
userlist_file=/ffp/etc/vsftpd/vsftpd.user_list
#point to your certificate and key
rsa_cert_file=/ffp/etc/vsftpd/xxx.crt
rsa_private_key_file=/ffp/etc/vsftpd/xxx.key

Do these lines mean that when I attempt to log in to the DNS using username 'xyz' it checks vsftpd.user_list to see if 'xyz' exists, and if that is true the rsa_private_key_file is used? So the user never needs a private key file as it is hosted on the DNS itself? In all my readings of SSH/SFTP I never came across such a setup.

So when I log in my username/password is being encrypted even though I am not specifying "Private Key"?

Thank you!

Matt.

Offline

 

#2 2010-11-07 04:46:23

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Regarding funplug sftp - No Private Keys Needed?

There is an easy way to setup TLS with FTP if you're just looking for an encrypted method to use FTP.  Let me know and I'll dig for the link.  I'm not familiar with VSFTP, sorry.

Last edited by bound4h (2010-11-07 04:46:34)

Offline

 

#3 2010-11-07 08:49:34

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Regarding funplug sftp - No Private Keys Needed?

So when I log in my username/password is being encrypted even though I am not specifying "Private Key"?

Yes, it is encrypted. However to get stupidly paranoid you may not be entirely sure what server you are connecting to. Is someone faking to be your dns323. Fooling you to give up your passwd.

Private key is an just another type of login method. You authenticate by proving you hold the private key instead of giving a passwd.
You should be able to configure you SFTP client to use key-pairs instead of password login.

google "key pair authentication" for more details.


PS. FTP over TLS etc, is a crap protocol. Useless to get through firewalls.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB