LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2005, 05:28 PM   #1
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Unhappy SSH - no client??


Hi

I've installed openssh and trying to connect to a ssh server (I know this is working ok)
The problem I have is that I don't seem to have ssh - only ssh-keygen and ssh-keyscan

If I run ssh-keyscan with the host name I can see the key - do I need to install this locally? Should I have ssh (so I could rin ssh -l 12.12.12.12)?

Bit confused....

Thanks in advance
 
Old 07-25-2005, 05:44 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
if you installed the full openssh software, then you should also have a binary called ssh.

You dont need to manually install the host keys, ssh will ask you whther to add the key when a new key is encountered. They will be placed at ~/.ssh/known_hosts or some similar file.

With ssh the syntax is simply: ssh -l username host
If you omit -l username, it will use your current username as the login.
 
Old 07-25-2005, 05:54 PM   #3
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Artanicus
if you installed the full openssh software, then you should also have a binary called ssh.

You dont need to manually install the host keys, ssh will ask you whther to add the key when a new key is encountered. They will be placed at ~/.ssh/known_hosts or some similar file.

With ssh the syntax is simply: ssh -l username host
If you omit -l username, it will use your current username as the login.
I used urpmi to install openssh - I assumed it was the full thing!
 
Old 07-25-2005, 06:02 PM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
would be quite a wonder if it wasnt.. (:

Have you tried locate'ing or find'ing it? as a string one could use just "/ssh"
 
Old 07-25-2005, 07:44 PM   #5
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Doing a find only finds the 2 files mentioned (among other stuff but not ssh)
Any ideas?
 
Old 07-25-2005, 07:47 PM   #6
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Seems very odd to me.. Well, you can allways do it the good'oläway and compile openssh yourself.. Thats the only watertight way of getting everything you want (:
 
Old 07-25-2005, 07:50 PM   #7
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Artanicus
Seems very odd to me.. Well, you can allways do it the good'oläway and compile openssh yourself.. Thats the only watertight way of getting everything you want (:
May try that.....

Surely Mandrake don't have a cut down rpm on offer?
 
Old 07-25-2005, 07:52 PM   #8
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Not even mandriva would do that, but it is possible they could have sliced it into multiple packages. Tho I dont see any point in packing the extra ssh tools seperately from ssh itself.
 
Old 07-25-2005, 07:59 PM   #9
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Artanicus
Not even mandriva would do that, but it is possible they could have sliced it into multiple packages. Tho I dont see any point in packing the extra ssh tools seperately from ssh itself.
I got the rpm from elsewhere - stil the same....surely something I'm doing wrong?!?
Do a find and only the 2 ssh tools....no ssh client
 
Old 07-25-2005, 08:07 PM   #10
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Thought I was further forward - installed openssh-server - this gives me sshd......what am I missing here?
 
Old 07-25-2005, 08:09 PM   #11
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Original Poster
Rep: Reputation: 30
Well I'll be!! I sussed it....

Needed to install openssh-client!!!!
 
Old 07-25-2005, 08:38 PM   #12
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Quote:
Originally posted by The_JinJ
Well I'll be!! I sussed it....

Needed to install openssh-client!!!!
hehe.. Sometimes the answer is just too simple.. (;

But seriously, id expect to get the full openssh system including sshd, ssh, and the other tools, when installing a package called openssh.. (:
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
SSH client rkane General 5 04-07-2005 09:46 AM
ssh client? alaios Linux - Software 3 07-13-2004 07:10 PM
X SSh-client alaios Linux - Security 1 05-08-2004 07:18 PM
ssh and x client jtdwyer Linux - Networking 2 07-08-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration