New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

SSH w/public key ibm/ubuntu to mac/snow leopard


Post Reply New Thread Subscribe

 
Thread Tools
abl7635

 
Member Since: May 24, 2009
Posts: 11
abl7635 is on a distinguished road

abl7635 is offline
I've been using ssh for a month or two, but I'm stepping up to public keys. Today I was finally able to get a public key working from my mac book pro /w snow leopard at work to my ibm thinkpad /w Ubuntu, but I can't seem to go the other way. I checked the port of my mbp and it is open.

I think it's something with the configs. There are many configs on the client and the server and I didn't really get it until after all my fussing around today in them trying to get this working. I edited the system wide sshd_configs before coming to realize I should have made a user ssh config in .ssh for everything and left the system wide stuff alone with factory defaults. So now I just want to start with clean server configs on the mac (probably a good idea to do it on Ubuntu too) and start over this time going through the man ssh_config pages.

Regardless I'm suprised I have not been able to connect I've disabled many security features I felt might get in the way =/. Not certain but it might have something to do with the version of the mac ssh server? Makes me want to just substitute apple's implementation with the portable openssh package. It's really messing up with the head to be comparing something like sshd_config between Ubuntu and what is on Snow Leopard.

Anyways here's the verbose output of trying to connect. Note I changed the actual user name & ip address.

One consistent thing is I have not been able to overcome the "ssh_connect: needpriv 0" error.

Before I forget I also consistently get an error connecting to my ibm from my mac, it says something along the lines of "Tunnel could not be established" or something like that. I don't get it cuz I'm looking at my prompt immediately after that error and I'm logged in to the ibm.

Code:
user@ibm:~$ ssh -vvv macaddress.dyndns.org
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug3: cipher ok: aes128-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes192-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes256-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: arcfour256 [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: arcfour128 [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes128-cbc [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: 3des-cbc [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: ciphers ok: [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug2: mac_setup: found hmac-md5
debug3: mac ok: hmac-md5 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: mac_setup: found hmac-sha1
debug3: mac ok: hmac-sha1 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: mac_setup: found umac-64@openssh.com
debug3: mac ok: umac-64@openssh.com [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: mac_setup: found hmac-ripemd160
debug3: mac ok: hmac-ripemd160 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug3: macs ok: [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: ssh_connect: needpriv 0
debug1: Connecting to macaddress.dyndns.org [69.95.227.19] port 22.
debug1: connect to address 69.95.227.19 port 22: Connection refused
ssh: connect to host macaddress.dyndns.org port 22: Connection refused
I guess I really should just wipe the slate clean and start over huh. Would appreciate constructive feedback if you guys know anything about the needpriv 0 error.
QUOTE Thanks

Post Reply New Thread Subscribe


« Parallels partition too small | got windows 7 ultimate working, but after few days working, now black screen »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Dual Boot / Virtual Windows XP Machine on Mac OS X 10.5 Leopard in 20 Steps applesanity Running Windows (or anything else) on your Mac 3 03-22-2009 11:38 AM
Leopard + WEP Key WiFi = Bad? Faeran OS X - Operating System 7 12-30-2008 09:17 AM
IBM External USB Keyboard - No Windows Key - Looking For Shortcut goddess_of_go Switcher Hangout 5 07-03-2008 10:27 PM
Some F key functions does not work in leopard japple Switcher Hangout 0 02-18-2008 04:03 AM
imac with mini-DVI to VGA no longer sees second display in leopard. scutteroz OS X - Operating System 5 02-10-2008 02:18 AM

All times are GMT -4. The time now is 07:49 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?