On Tue, May 20, 2008 at 03:42:18PM +0200, GVG GVG wrote:

> On Tue, May 20, 2008 at 2:58 PM, Maxim Belooussov <[EMAIL PROTECTED]>
> wrote:
> 
> > Hi,
> >
> > > I know but I don't try to go via root! I'm using a regular user!
> >
> > Can you try to do ssh -v [EMAIL PROTECTED] and take a look at the output?
> > There can be so many reasons, and shooting them off one by one is a
> > bit difficult.
> >
> > I've had all sorts of errors caused by myself - ssh version mismatch,
> > sshd box was trying to do a reverse-lookup, my keys were incorrect,
> > login was allowed using ssh-keys only, you name it :)
> >
> > Max
> >
> 
> Hi Max,
> 
> here is the output:

Better look at the server side in /var/log/authlog, for example.

        -0tto

> 
> --------------------------------------
> bash-3.2$ ssh -p 80 -v [EMAIL PROTECTED]
> OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
> debug1: Reading configuration data /home/[user dir]/.ssh/config
> debug1: Connecting to [resolved DNS hostname] [IP address] port 80.
> debug1: Connection established.
> debug1: identity file /home/[user dir]/.ssh/identity type -1
> debug1: identity file /home/[user dir]/.ssh/id_rsa type -1
> debug1: identity file /home/[user dir]/.ssh/id_dsa type -1
> ssh_exchange_identification: Connection closed by remote host
> ------------------------------------
> bash-3.2$ ssh -v
> OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
> usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
>            [-D [bind_address:]port] [-e escape_char] [-F configfile]
>            [-i identity_file] [-L [bind_address:]port:host:hostport]
>            [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
>            [-R [bind_address:]port:host:hostport] [-S ctl_path]
>            [-w local_tun[:remote_tun]] [EMAIL PROTECTED] [command]
> 
> ------------------------------------
> 
> Thanks
> 
> George

Reply via email to