Re: sftp and FreeBSD
- From: Withinavoid <nobody@xxxxxxxx>
- Date: Fri, 19 May 2006 19:58:19 GMT
On 2006-05-19 10:49:52 -0600, Marshall Dudley <mdudley@xxxxxxxxxxxxx> said:
I am not sure if I should be posting this here, or in a forum for ssh.
Anyway, I closed down ftp on our FreeBSD server recently and have
started using sftp which is built into ssh2. It works fine with my
FileZilla client on my Windows computer. However I also have a FreeBSD
workstation that I need to be able to send and receive files with our
server, and I am unable to get it to log in.
When I type "sftp thedomain.com" (thedomain.com is not the domain I am
using) I get a password prompt. It does not ask me for which use id I
want to use, so I am not sure which user id it is asking me for. When I
enter my user id, it comes back and asks for the user id again, 3 times
total, then on the 3rd try it asks for "root@xxxxxxxxxxxxx's password:".
I am not wanting to log on as root, and have root access via ftp
disabled. So when I enter that I am getting "Permission denied...."
Anyone have any idea why I am unable to log in from FreeBSD workstation,
but have no problem from my windows computer, and how I can fix it.
Thanks,
Marshall
As usual, this group points you to man pages. Thats a good thing but it's not hard to answer this question. Your ssh attempt from the unix box is using the username that you are logged in as. So if you are user1@freebsd-box it is sending username user1 to the remote server. If you want to use a different username just type 'sftp userX@xxxxxxxxxxxxx'.
.
- Follow-Ups:
- Re: sftp and FreeBSD
- From: Michel Talon
- Re: sftp and FreeBSD
- From: Marshall Dudley
- Re: sftp and FreeBSD
- References:
- sftp and FreeBSD
- From: Marshall Dudley
- sftp and FreeBSD
- Prev by Date: Re: Netflow port for FreeBSD
- Next by Date: Re: sftp and FreeBSD
- Previous by thread: Re: sftp and FreeBSD
- Next by thread: Re: sftp and FreeBSD
- Index(es):
Relevant Pages
|