Re: sftp and FreeBSD



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'.

.



Relevant Pages

  • Re: SPAM sudden increase
    ... > Dude was on a tech call with f-secure and the tech asked, "So, ... dude is trying to FTP to their server using WSFTP. ... but I think he is talking about sftp protocol - FTP via ...
    (alt.2600)
  • Re: Pasting via ssh causes data loss
    ... sftp of the file to the remote and ... I then opened an ssh session to a FreeBSD ... errors shown on the interface of the server? ...
    (freebsd-questions)
  • Re: Pasting via ssh causes data loss
    ... sftp of the file to the remote and ... I then opened an ssh session to a FreeBSD ... errors shown on the interface of the server? ...
    (freebsd-questions)
  • Re: freebsd-newbies help....
    ... I've gotten freeBSD 5.2 and 5.3 to do alot of ... how to add qq client protocol for gaim on ... Which type of FTP do I have ... I know that a client and a server aren't ...
    (freebsd-newbies)
  • Re: Question about FTP
    ... > Subject: Question about FTP ... Would I need multipule domains? ... >> I am attempting to use FreeBSD as a http server, ... >> server, PHPbb server, and possibly an IRC server. ...
    (freebsd-questions)