Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ssh Problem

Posted on 1997-11-02
2
Medium Priority
?
219 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
0
Comment
Question by:Volsung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
geist earned 100 total points
ID: 1582798
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
 

Expert Comment

by:blair001
ID: 1582799
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question