ssh Problem

Hello,

I am trying to use ssh to get into a server which I have been given an account on. I was told that all I had to do was type ssh server name, this did not work. So I went and read the Man page. I then went and generated my own public key by using ssh-keygen. Everything started and then I got the message, /bin/ssh netstat: not found. Then it continued to generate my key. I am assuming that I do not have access to ssh, is this correct if so I will have to go to another server to access my account. Your help is most appreciated.

Regards

Nathan Dietsch
VolsungAsked:
Who is Participating?
 
geistConnect With a Mentor Commented:
You shouldn't necessarily need to generate a public key at all, if you're willing to log in with a password.

Are your login names on the local and remote machines the same?

If not, you need to be telling the remote server what login name you want: 'ssh -l username servername'

You say just typing 'ssh servername' didn't work - please supply more info re what you mean by this.

Passworded logins are very easy to set up if it suits your needs and the server's admin doesn't specifically disable it.

0
 
blair001Commented:
You need to verify that ssh-keygen actually created your public and private keys.  Look in your home directory for .ssh directory.  In it should be

random_seed
identity
identity.pub

For the best info on getting started with ssh,
check out these URLs:

http://www.tac.nyc.ny.us/~kim/ssh/ssh.html  (Getting Started)

http://www.uni-karlsruhe.de/~ig25/ssh-faq/  (SSH FAQ)


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.