Permission Denied

Rip Loomis loomisg at
Fri Jul 28 05:21:57 EST 2000


That exact error doesn't look familiar.  One
method that has always helped me to debug things
like this, however, is to run both ends in
debug mode.  If you run sshd in debug mode then
it doesn't background itself and continues to
print output on the controlling terminal.

Start sshd on a non-standard port in debug mode:
   sshd -d -p 2022

Then ssh to the target system in verbose mode:
   ssh -v -p 2022 hostname

You might get more info that way as to exactly
what's failing on the remote end.  I would hazard
a guess that the permissions on some file don't
allow the user you're ssh-ing in as to overwrite

Hope this helps--


-----Original Message-----
From: owner-openssh-unix-dev at
[mailto:owner-openssh-unix-dev at]On Behalf Of Higdon, David M
Sent: Thursday, July 27, 2000 12:08 PM
To: 'openssh-unix-dev at'
Subject: Permission Denied

Solaris 8
Openssh 2.1.1p4 
Zlib 1.1.3

Anyone know why one would get the permission denied error?
It seems to be failing on the "Doing passwd authentication" phase 
after the "Received encrypted confirmation" phase. I have included
the output of ssh -v.



# ssh -v hostname
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /usr/local/etc/ssh_config
debug: Applying options for *
debug: Command 'arp -a -n' timed out
debug: Command 'ipcs -a' timed out
debug: Seeded RNG with 34 bytes from programs
debug: Seeded RNG with 3 bytes from system calls
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to [] port 22.
debug: Allocated local port 1023.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
debug: Local version string SSH-1.5-OpenSSH_2.1.1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host '' is known and matches the RSA host key.
debug: Seeded RNG with 31 bytes from programs
debug: Seeded RNG with 3 bytes from system calls
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
Permission denied.
debug: Calling cleanup 0x3d6c8(0x0)
debug: Calling cleanup 0x3ffb8(0x0)
debug: writing PRNG seed to file //.ssh/prng_seed

More information about the openssh-unix-dev mailing list