this mail has been sitting in my mailqueue since Jan 25th
so i am forwarding it from my webmail account at GMX
l0QJXnrt007394 1783 Fri Jan 26 20:33 <[EMAIL PROTECTED]>
(Deferred: 451 Temporary failure, please try again later.)
<[email protected]>
-------- Original-Nachricht --------
Datum: Thu, 25 Jan 2007 15:33:24 +0100
Von: Christian Ruediger Bahls <[EMAIL PROTECTED]>
An: Igor Sobrado <[EMAIL PROTECTED]>
CC: [email protected]
Betreff: Re: [OpenSSH] an option for setting the login name?
dear igor,
[2007-01-03 16:37] Igor Sobrado <[EMAIL PROTECTED]> wrote:
> I would like to ask if there are plans to implement the "-l" option
> available in ssh(1) on the secure file transfer program sftp(1).
[...]
> In my humble opinion, adding this option to sftp(1) will make the
> secure file transfer program a bit more friendly for people accustomed
> to the "-l" option in ssh(1). I think that this option is not being
> currently used in sftp(1), but perhaps it is reserved for future use
> or there are other reasons for not implementing it.
to have an -l option for sftp would be really nice
but perhaps one should argument a little bit differently
your argument would be a lot stronger if it would go like that:
imagine a user alice who has something like that in her /etc/login.conf
[snip]
whoever:\
:auth=skey,passwd:\
:tc=default:
[snap]
which means the user in class whoever can login
using either the skey or the passwd method
so perhaps if she uses the console,
the dialog would look similar to this:
login: me:passwd
password: whocares
remotely she would use "ssh -l me host"
(she would need her list of generated one time passwords though)
using "sftp [EMAIL PROTECTED]" would work remotely too
though it looks strange "sftp me:[EMAIL PROTECTED]" would work too
ok regularly she would be bitten by:
"scp -r that_very_important_directory me:[EMAIL PROTECTED]:/Backups"
there she would start to argue that every ssh aware program
should perhaps provide "-l" to the user
so i guess if you argue in that direction .. or refer to my post
_and_ provide a patch for easy integration into OpenSSH
we could both have an itch scratched :)
yours
christian bahls
--
personal email reaches me at gmx.de
[EMAIL PROTECTED]
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail