Results 1 to 7 of 7

Thread: ssh: command not found when trying to ssh

  1. #1
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    ssh: command not found when trying to ssh

    I have a clean install of Ubuntu 10.04.4 on my laptop. When trying to ssh or sftp in Nautilus, I keep getting the ssh: command not found. I have purged ssh, autoremove, autoclean, clean then reinstalled with the same results.

    any ideas on what is happening?

    ~Mark
    http://nwlinux.com - tech blog

  2. #2
    Join Date
    Jan 2010
    Location
    Sydney, Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    Hello .

    Please check the executable permissions on ssh binary .

    Code:
    ls -l /usr/bin/ssh
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  3. #3
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    the command returns

    ---------- 1 root root 339712 2011-06-16 22:54 /usr/bin/ssh

    What should they be?
    ~Mark
    http://nwlinux.com - tech blog

  4. #4
    Join Date
    Jan 2010
    Location
    Sydney, Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    Hello ,

    turn required x bits on .

    Code:
    sudo chmod +x /usr/bin/ssh
    Cheers
    Codemaniac
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  5. #5
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    I changed permissions and made it executable. All is well. I never even thought about permissions or making ssh executable on a clean install.

    I appreciate the help with this one. It's always the simple tasks...

    Mark
    ~Mark
    http://nwlinux.com - tech blog

  6. #6
    Join Date
    Jan 2010
    Location
    Sydney, Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    Please never forget to mark the thread as SOLVED .

    Best Regards
    Codemaniac .
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  7. #7
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: ssh: command not found when trying to ssh

    Quote Originally Posted by codemaniac View Post
    Please never forget to mark the thread as SOLVED .

    Best Regards
    Codemaniac .
    done - and thank you
    ~Mark
    http://nwlinux.com - tech blog

Tags for this Thread

Bookmarks

Posting Permissions

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