Find the answer to your Linux question:
Results 1 to 5 of 5
Ok, so here's my setup. I have two computers, a desktop running FC3 (192.168.0.100), and a laptop running ubuntu (192.168.0.101) I've been trying to use ssh to see if I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Illinois, USA
    Posts
    111

    ssh port 22 problem[SOLVED]


    Ok, so here's my setup. I have two computers, a desktop running FC3 (192.168.0.100), and a laptop running ubuntu (192.168.0.101)

    I've been trying to use ssh to see if I can access the computers, and so far I am able to use the laptop to access the desktop, but not the other way around. Here's the error message I get:
    Code:
    $ ssh -l myname 192.168.0.101
    ssh: connect to host 192.168.0.101 port 22: Connection refused
    So is there a way to open the port or another way to get this to work?
    thanks

  2. #2
    Linux Newbie deek's Avatar
    Join Date
    Mar 2005
    Location
    Fort Wayne, IN
    Posts
    248
    So you have sshd running on both machines?
    Join the Open Source Revolution. Support GNU/Linux.

    Find me at: www.deeksworld.com
    Registered GNU/Linux User #395777

  3. #3
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Illinois, USA
    Posts
    111
    sshd was running on the desktop, but only something called ssh-agent was on the laptop.
    Code:
    $ ps ax | grep ssh | grep -v grep
     5018 ?        Ss     0:00 /usr/bin/ssh-agent x-session-manager

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by hamburger123
    sshd was running on the desktop, but only something called ssh-agent was on the laptop.
    Code:
    $ ps ax | grep ssh | grep -v grep
     5018 ?        Ss     0:00 /usr/bin/ssh-agent x-session-manager
    So start sshd. That should solve your problems.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Illinois, USA
    Posts
    111
    Wow, that was simple, I had the ssh-client package installed, but not the ssh-server package installed. I used apt to retrieve it and now it works. Thank you very much.

    ...now I feel stupid...

Posting Permissions

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