• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remote Debugging with Xcode 2.5 & Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remote Debugging with Xcode 2.5 & Leopard


  • Subject: Re: Remote Debugging with Xcode 2.5 & Leopard
  • From: Philip Wasson <email@hidden>
  • Date: Mon, 31 Mar 2008 18:51:41 -0400


On Mar 31, 2008, at 15:49, Eric Gorr wrote:
I am attempting to get remote debugging working using Xcode 2.5 under
Mac OS X 10.5.2 and have run into trouble without getting very far.
Both machines have the same version of Xcode and Mac OS X.

The first step is get ssh setup using public key authentication. I
know this isn't setup correctly yet because, as the documentation
states, if I ssh from Machine B (MB) to machine A (MA), I am prompted
for the users password and not a passphrase or nothing at all.

Remote Login is enabled in the Sharing Preferences on MA.

So, on MA, I type in, as the documentation states:

ssh-keygen -b 2048 -t dsa

however, the terminal immediately tells me that:

DSA keys must be 1024 bits

so, I then enter the command:

ssh-keygen -b 1024 -t dsa

and things proceed normally, I enter a passphrase and id_dsa.pub is
created.

~ $ls -la ~/.ssh/
total 16
drwx------   4 Eric  Eric   136 Mar 31 15:41 ./
drwxr-xr-x+ 56 Eric  Eric  1904 Mar 31 12:29 ../
-rw-------   1 Eric  Eric   744 Mar 31 15:41 id_dsa
-rw-r--r--   1 Eric  Eric   609 Mar 31 15:41 id_dsa.pub

I then copy the contents of id_dsa.pub to authorized_keys by doing:

cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

and then do

chmod go-rwx ~/.ssh/authorized_keys

~ $ls -la ~/.ssh/
total 24
drwx------   5 Eric  Eric   170 Mar 31 15:43 ./
drwxr-xr-x+ 56 Eric  Eric  1904 Mar 31 12:29 ../
-rw-------   1 Eric  Eric   609 Mar 31 15:43 authorized_keys
-rw-------   1 Eric  Eric   744 Mar 31 15:41 id_dsa
-rw-r--r--   1 Eric  Eric   609 Mar 31 15:41 id_dsa.pub

The documentation then states:

-----
Test the connection by logging in to the remote computer using ssh.
 From the command-line,
type “sshusername@hostname”. Ensure that you are not asked for the
user’s password. If you did
not leave it empty in step 1, you should be prompted for your
passphrase, as in the following
example:
-----

however, when, from MB, I attempt to ssh into MA (ssh
email@hidden), I am asked for the users password.


Any ideas?

Did you copy id_dsa to ~/.ssh on MB, and ensure that it is not readable by anyone else?


----------------------------------------------------------------------
Philip D. Wasson                              pwasson at maned dot com
MEI Software Engineer


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Remote Debugging with Xcode 2.5 & Leopard (From: Eric Gorr <email@hidden>)

  • Prev by Date: A problem with updating doc sets has been resolved
  • Next by Date: IB Deployment Target
  • Previous by thread: Remote Debugging with Xcode 2.5 & Leopard
  • Next by thread: Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard - Resolved using '-Xlinker -no_uuid' flag
  • Index(es):
    • Date
    • Thread