Wired Intelligent Edge

 View Only
  • 1.  SFTP with public key authentication

    Posted Aug 02, 2008 01:56 AM

    I have ssh using public key authentication configured on a 2810-48G, which works as it should. SFTP does not work however; I get the following error:
    $ sftp admin@10.10.1.1
    Connecting to 10.10.1.1...
    Request for subsystem 'sftp' failed on channel 0
    Couldn't read packet: Connection reset by peer

    If I change to password auth
    (i.e. aaa authentication ssh login local none)
    then sftp works. Is this a bug or is sftp with public key auth not supported?

    Thanks

     

     

    P.S. This thread has been moevd from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. = Hp Forum Moderator



  • 2.  RE: SFTP with public key authentication

    Posted Aug 07, 2008 08:57 AM
    Hi, crawshaw !

    As I know public key authentication is only valid for an operator privilege level (for security reasons).
    To get a manager privilege level you should use enable command and know (and provide!) a manager's level password.

    Good luck,
    Dmitry


  • 3.  RE: SFTP with public key authentication

    Posted Aug 07, 2008 09:24 AM
    Thanks for the reply. This implies that SFTP requires 'manager privilege level', is this the case, and therefore the reason why SFTP does not work with public key authentication?


  • 4.  RE: SFTP with public key authentication

    Posted Aug 07, 2008 03:01 PM
    Crawshaw,
    Could this be your issue?

    SSH authentication through a TACACS+ server and use of SCP or SFTP
    through an SSH tunnel are mutually exclusive. Thus, if the switch is configured
    to use TACACS+ for authenticating a secure Telnet SSH session on the switch,
    you cannot enable SCP or SFTP


  • 5.  RE: SFTP with public key authentication

    Posted Aug 07, 2008 11:21 PM
    No, that's not it - neither TACACS nor RADIUS are configured.


  • 6.  RE: SFTP with public key authentication

    Posted Mar 18, 2009 07:18 AM
    what sftp client are you using, if it's putty, then there is specific procedure to use pub key auth, read manual.