On Sun, Jan 13, 2008 at 09:38:21AM -0500, [EMAIL PROTECTED] wrote:
>
> When I ssh into a system which has different login name from the
> system I'm on I use this syntax: ssh -l host.domain.com.
>
> How does one do this with SFTP on the command line? The -l switch
> doesn't work. The man pages on SFTP makes no mention of this.
>
> -- Joe
The man page implies the correct use at the top:
sftp [EMAIL PROTECTED]:dir[/]]]
So sftp [EMAIL PROTECTED] works. Lower down in the file, it also
mentions using options, and it turns out that this works as well:
sftp -o User=username host.example.com
Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"