LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH - no client?? (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-no-client-346673/)

The_JinJ 07-25-2005 04:28 PM

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

Artanicus 07-25-2005 04:44 PM

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.

The_JinJ 07-25-2005 04:54 PM

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!

Artanicus 07-25-2005 05:02 PM

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"

The_JinJ 07-25-2005 06:44 PM

Doing a find only finds the 2 files mentioned (among other stuff but not ssh)
Any ideas?

Artanicus 07-25-2005 06:47 PM

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 (:

The_JinJ 07-25-2005 06:50 PM

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?

Artanicus 07-25-2005 06:52 PM

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.

The_JinJ 07-25-2005 06:59 PM

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 :(

The_JinJ 07-25-2005 07:07 PM

Thought I was further forward - installed openssh-server - this gives me sshd......what am I missing here?

The_JinJ 07-25-2005 07:09 PM

Well I'll be!! I sussed it....

Needed to install openssh-client!!!!

Artanicus 07-25-2005 07:38 PM

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.. (:


All times are GMT -5. The time now is 04:45 PM.