Re: Public key SSH with Midnight Commander



* Atis <atis@xxxxxxxxxxx> [2007 Aug 17 10:55 -0500]:
On 8/17/07, Nate Bargmann <n0nb@xxxxxxxxxxxxxxxx> wrote:
I have my SSH set up to use only public key authentication between my
laptop and my remote host--no password fallback, no PAM. So, I
initiate a session using:

$ ssh -i .ssh/id_remote remote.host.ip.address

Then I am prompted for the password of the .ssh/id_remote file which
resides on the laptop.

This works well (X11 Forwarding even!), but when I've tried Midnight
Commander or Konqueror using the fish protocol, I get errors. In
experimenting, it appears to me that fish only uses password
authentication. How can I make this work with public key only as I'm
using?

I want to keep my SSH access as secure as possible by using only public
key authentication.

Use sshfs

That still doesn't work. I get:

read: Connection reset by peer

It doesn't seem to be able to let me specify a path to the
~/.ssh/id_remote file and then prompt for a password like the -i option
of ssh. It does work okay with a host that uses the default id_r|dsa
filename, but I use a different key for different hosts and must
specify the correct key to ssh. Does sshfs support this?

Ideas?

- Nate >>

--
Wireless | Amateur Radio Station N0NB | Successfully Microsoft
Amateur radio exams; ham radio; Linux info @ | free since January 1998.
http://www.qsl.net/n0nb/ | "Debian, the choice of
My Kawasaki KZ-650 SR @ | a GNU generation!"
http://www.networksplus.net/n0nb/ | http://www.debian.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Public key SSH with Midnight Commander
    ... laptop and my remote host--no password fallback, ... I want to keep my SSH access as secure as possible by using only public ... Does sshfs support this? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Reconnect to a specific TTY session?
    ... When I ssh into my Debian box from my laptop, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: home network problem - router is smarter than me
    ... webpages on the desktop from the laptop by entering the IP address ... ssh: etch.mynetwork: Name or service not known ... tells me that either you don't or it is running on a different port. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OT: clicky keyboards
    ... keyboard and plug it back in. ... If the laptop has been in suspend, ... Amateur radio exams; ham radio; Linux info @ | free since January 1998. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why cant I scp inside my own router??
    ... I tried an scp -r from the laptop; failed on a refusal by the ... into the laptop with ssh from the main, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)