We help IT Professionals succeed at work.

ssh Problem

Volsung
Volsung asked
on
Medium Priority
235 Views
Last Modified: 2013-12-23
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
Comment
Watch Question

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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
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)


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.