Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > ssh fails : permission denied...

ssh fails : permission denied...
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2005
Status: Offline
Reply With Quote
Feb 17, 2006, 10:45 PM
 
while ssh'ing to my box I keep getting
Code:
Permission denied, please try again.
my password seems incorrect, while I am 100% certain i typed the right I tried over a 100 times and tried the other account.. nothing

well.. here some technical details: os x 10.4.4 ( 2 user accounts 1 admin / 1normal)

[/etc/visudo]
# User privilege specification
root ALL=(ALL) ALL
usernamehere ALL=(ALL) ALL
# --> all your base are belong to us! <---
#%admin ALL=(ALL) ALL

ssh -v:
OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005


(used darwin ports to install openssh)

xx@xx:/usr/bin$ ls -la
..
lrwxr-xr-x 1 root wheel 18 Feb 18 04:54 ssh -> /opt/local/bin/ssh
..

my sshd_config:
http://unixwarrior.org/ssh.txt

removing .ssh no luck..

it's purely ssh because ftp accepts the passwords..

Well it seems I need your help and time again . thanks in advance!
But what happens when karma, turns right around and bites you?
And everything you stand for, turns on you, despite you?
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Feb 18, 2006, 01:59 PM
 
I have a suspicion it's the fact that you used darwin ports. Is there a reason you didn't use the included version of OpenSSH?

Try uninstalling the DP version of OpenSSH, and make sure you can connect with the built-in version of OpenSSH.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Fresh-Faced Recruit
Join Date: Nov 2005
Status: Offline
Reply With Quote
Feb 18, 2006, 09:12 PM
 
Originally Posted by Detrius
I have a suspicion it's the fact that you used darwin ports. Is there a reason you didn't use the included version of OpenSSH?

Try uninstalling the DP version of OpenSSH, and make sure you can connect with the built-in version of OpenSSH.
The built-in version of OpenSSH failed.. to I guess reïnstalling os x is the best thing I can do.. I messed up a lot of os x system files.. I learned a lot...


well for those with the same problem..
here's what I am gonna do: (mind my english it's 4 am now here, and i am a little *drunk* )

* reinstall os x
* install ports
* openssh
* unload normal os x port:
sudo launchctl unload -w /System/Library/LaunchDeamons/ssh.plist

then loading the openssh

sudo launchctl load -w /opt/local/etc/LaunchDaemons/org.darwinports.OpenSSH/org.darwinports.OpenSSH.plist

Then cd /usr/bin/

sudo mv ssh ssh.old

sudo ln -s /opt/local/bin/ssh ssh

* reboot os x and I guess it should work fine...

I am gonna try this right now if it doesn't work I'll report it here.. but since I have messed a lot I don't want any of guys go through the same mess I had to..

Thanks Detrius!

oh and why don't I just simple use the normal openssh? Well I am used to running OpenBSD / FreeBSD and openssh is always up2date on both systems (when I do some updating)

I mean.. OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005 sounds better then the 3.8p2 included os x? Or am I just being stupid?
But what happens when karma, turns right around and bites you?
And everything you stand for, turns on you, despite you?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2