Find the answer to your Linux question:
Results 1 to 6 of 6
I am having trouble connecting to another computer on my network using the ssh command. When I ssh jay-desktop"at"ip address I get a "connection refused" message. Can anyone help with ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Location
    CSU, Chico
    Posts
    4

    Can't connect to another computer using ssh



    I am having trouble connecting to another computer on my network using the ssh command. When I ssh jay-desktop"at"ip address I get a "connection refused" message. Can anyone help with this? Cheers.

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Are you running a firewall on either of the machines that could be stopping the connection?
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Location
    CSU, Chico
    Posts
    4
    Not to my knowledge. Does Ubuntu come configured with a firewall?

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Not by default. I just thought.. have you installed SSH server on the computer you're trying to connect to? If not you can install it with the command:
    Code:
    sudo apt-get install ssh-server
    Linux User #453176

  5. #5
    Just Joined!
    Join Date
    Jul 2009
    Location
    CSU, Chico
    Posts
    4
    Is it possible to ssh to a windows computer? Thanks for the help.

  6. #6
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,679
    Quote Originally Posted by jaydub50 View Post
    Is it possible to ssh to a windows computer? Thanks for the help.
    No - not unless you have installed an SSH Server like this.

    I get a "connection refused" message
    Connection refused = port closed = no process listening on that port.

Posting Permissions

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