- (newbies) ssh putty win linux modem & eth0 ...
- Posted by Jouin Romain on December 4th, 2003
I guess you have already guess what is my question about:
It is the first time i use ssh and all this stuff...
I have a network with linux & windows
my linux computer only has an eth card on the network
my windows computer has two connections :
one for internet via an adsl modem on a usb port
one for the LAN via an eth card
I use samba to transfert data from linux to windows
I have ssh installed on linux
I tried to use PUTTY to connect to the ssh server on linux and here is
the matter
I have to generate keys to use ssh, where do i stock these keys for
putty ?
It seems i don't knoow how to configure my server because i am able to
connect to
another ssh server, at the other part of the world, but i can't reach
the one at 30cm in my own room.
Any help welcome.
Regards.
JR.
- Posted by Dances With Crows on December 4th, 2003
On 3 Dec 2003 16:02:48 -0800, Jouin Romain staggered into the Black Sun
and said:
ssh is the ssh client. The ssh server is called sshd. Is it installed?
Is it running? "pgrep sshd" will return a number if sshd is running.
Huh? What are you talking about? You start PuTTY. You enter the IP
address or hostname of the machine you'd like to connect to. You enter
the username and password. If that doesn't work, you post the error
messages you got, like http://catb.org/~esr/faqs/smart-questions.html
says.
You have to start sshd on your Linux machine. Have you done this? The
command you probably want is "/etc/init.d/sshd start".
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / Hire me!
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Posted by Jouin Romain on December 4th, 2003
sshd was running at the trial time.
NOw it doesn't run anymore.
The only message I have is: <sshd dead but subsys locked>
I didn't found on internet the answer to this problem.
There is no way to stop/start/restart or anything else sshd...
I tried to delete /var/init.d/sshd .
it didn't change anything.
- Posted by Dale Dellutri on December 5th, 2003
On 3 Dec 2003 16:02:48 -0800, Jouin Romain <jouinromain@campus.ie> wrote:
1. You don't have to generate keys to use puuty. One of the possible
connection types is username/password. In other words, if an ssh
server is running on the Linux machine, set putty to use your
username, connect to the IP address of the Linux machine, and use your
password. No public/private key pairs are involved in this case. This
assumes that your Linux ssh server accepts username/password
authentication, which is typically the default.
2. If you want to use public-key authorization, use puttygen to
generate public/private key pairs. Store the private key on your
Windows system wherever you have read/write access, then point putty
to this key. The public key, IN THE CORRECT FORMAT and WITH THE
CORRECT FILENAME, should be placed in the Linux user's .ssh directory.
The actual details depend on which ssh server you use. See man ssh,
man sshd, man ssh_config, man sshd_config.
3. You mention in another post that sshd was running but now it won't,
and that you removed some file in /var. You have probably ruined your
ssh server installation. You will probably have to re-install the ssh
server.
--
Dale Dellutri <ddelQQQlutr@panQQQix.com> (lose the Q's)