[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Skey and scp and lock -np



On Mon 2003.09.01 at 17:25 +0200, stefan wrote:
> Hi all,
> 
> i have 2 small Problems with skey and openssh
> I use openbsd 3.3 with the default openssh.
> If i make
> ssh -l user:skey IP-Adress-from-the-Server
> all works fine.
> 
> But if i try
> scp username:skey@IP-Adress-from-the-Server:/home/user/file .
> i get the following error Message:
> ssh: username: no address associated with name
> 
> The Strange thing is if i use a windows scp client (winscp)
> and use the gui with username:skey than it works.
> So scp should abel to use skey. Or?
> 
> In the man from scp i have not found any advise.
> Does anyone knows what i must do that it works?
> 
> 
> The second thing what i am interested in is that
> if i do
> ssh -l user:skey IP-Adress-from-the-Server
> and then i locked the shell with
> lock -np
> the only way to open the shell again is to use
> the "normal" password.
> Does any possibility exist to reopen the shell
> with a further skey password?
>

i can only answer the second part, but check the manpage
of lock(1): (it works)

  A password is not requested, instead the user's current login
  password is used.  If the user has an S/Key key, they may also
  use it to unlock the terminal.  To do this the user should enter
  "s/key" at the unlock ``Key:'' prompt.  The user will then be
  issued an S/Key challenge to which they may respond with a six-word
  S/Key one-time password.


> Thanks in Advance
> Stefan
> 
> -- 

-- 
Okan Demirmen < okan at demirmen dot com >
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB3670934
Key FP: <0xB3670934> 226D B4AE 78A9 7F4E CD2B  1B44 C281 AF18 B367 0934
--