Find the answer to your Linux question:
Results 1 to 6 of 6

Thread: using ssh

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    using ssh

    After groping about for a long time, i have now realised that the best thing suited for what i am trying to do is "ssh"
    I still have a problem. I have downloaded the tar-ball and correctly installed it on both my machines. I am still not able to log into my cluster machine through my slave.

    Here are the details:
    server machine :
    IP :
    Hostname : linux
    Domain : site

    Client machine:
    IP :
    Hostname : machine1

    And what exactly should i type at the client machine to log into the server machine.?
    This is what I have tried so far :
    # ssh
    didnt work
    # ssh root@
    didnt work
    and some other combinations. still no positive result.

  2. #2
    Just Joined! lizardking's Avatar
    Join Date
    Aug 2006
    St-Lazare, Quebec
    Howdy kris.c!

    Silly question, does your host.allow file on 'linux' have machine1?

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Normally root logins over ssh are turned off by default, and this is the way you should try and keep it. When you log in over ssh, log in as a regular user and use 'su' or 'sudo' to do sysadmin stuff.

    Make sure you have a regular user account on the machine '' and do 'ssh <username>@'. That should work a lot better.
    Linux user #126863 - see

  4. $spacer_open
  5. #4
    Well, sorry about that , I am still pretty much new. But, I checked it up, it first scans "hosts.allow" and then "hosts.deny". If a match is not found in either file, the access is still allowed. So, my mistake is not there I suppose.

    yeah, I did that too : # ssh <username>@
    it blinked for a long time before saying that the destination was unreachable.

    I can "ping" one machine from another, so, connectivity is not a problem.

    And the ssh daemon is running on both the machines too,
    # ps -aux | grep sshd
    root      4379  0.0  0.7   4700  1972 ?        Ss   22:26   0:00 /usr/sbin/sshd -o PidFile=/var/run/
    1000      5668  0.0  0.2   2728   672 pts/1    R+   22:55   0:00 grep sshd
    >Make sure you have a regular user account on the machine ''
    The account I use to login should suffice right?

    Prior to this , I had downloaded with ssh-3.0.1
    I did the following as root on both the machines:

    # ./configure
    # make
    # make install

    I am sure nothing went wrong there too.
    Please help....

  6. #5
    well, I just found this :

    and the problem was indeed with the firewall itself. I still have an issue with authentication, but atleast , i am not getting "destination unreachable" anymore.

  7. #6

    authentication problem

    Can you help me out:

    # ssh <username>@
    Host key not found from database
    Key fingerprint:
    You can get a public key's fingerprint by running 
    % ssh-keygen -F
    on the key file.
    Are you sure you want to continue connecting (yes/no)? yes
    Host key saved to /root/.ssh/hostkeys/
    host key for, accepted by root Wed Dec 20 2006 23:07:58 +0530
    warning: Authentication failed.
    Disconnected; no more authentication methods available.
    So, next i tried

    # ssh-keygen -F
    Fingerprint for the key:
    and for all the subsequest attempts :

    # ssh <username>@
    warning : Authentication failed
    Disconnected; no more authentication methods available.
    what do i do to correctly login?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts