cd ~/.ssh "command not found" need help sorting $PATH (I think)

Hi thanks for anyone who can help me get sorted out here. I am trying to get my shiny new iMac set-up with textmate and git/github. I'm new to all of this and I am baffled at the moment and can't seem to sort out what the issue is.

When I open terminal and type in $ cd ~/.ssh I get "command not found".
When I type /usr/bin/ssh and echo $PATH I get the following:

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr /X11/bin

My PATH seems screwy, again I'm new to mac so I'm not sure. What should my path be? I would jump for joy for any basic directions on getting it corrected.

Thanks!
Jamie

iMac, Mac OS X (10.6.6)

Posted on Jan 13, 2011 3:04 PM

Reply
2 replies

Jan 13, 2011 3:15 PM in response to Jamie-Evolution-Design

Is there a directory, /Users/yourusername/.ssh? As far as I recall there is no '.ssh" folder in that location. Because you are trying to access an invisible folder you may need to use: "sudo cd ~/.ssh. Is this folder supposed to be in the Home folder?

In the future you should post this type of query in the Unix sub-folder of the OS X Technologies forums which is where those experts are likely to find it. This is the Getting Online and Networking forum for Snow Leopard.

Jan 13, 2011 3:26 PM in response to Jamie-Evolution-Design

cd ~/.ssh is telling the shell to switch to the .ssh directory. If you haven't made that directory or installed any software that might create that directory, it doesn't exist. If you've connected to a server via ssh, then it should exist with your known_hosts file. However, if you have never connected to a server, then there won't be any known_hosts or the directory that they are in.

If you wish to start ssh, just type ssh host.ip.address

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

cd ~/.ssh "command not found" need help sorting $PATH (I think)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.