I just started with SSH 10 minutes ago. I enter:

ssh lisv22@chusmix.com
my password

And get:

Last login: Fri Sep  9 20:31:29 2011 from

Which I suppose means I connected successfully. However when trying to access any directory on my root I get an error.



returns /game: No such file or directory. Btw I also tried /html/game

What am I doing wrong? / how do I get a list of directories?

  • 1
    FYI, the domain you mention has an XSS vulnerability.
    – icktoofay
    Sep 10, 2011 at 4:03
  • out of interest, how did you find that out?
    – madphp
    Feb 13, 2012 at 2:27
  • You're not new to SSH. You're new to *nix my friend
    – LatinSuD
    Sep 10, 2013 at 11:03

2 Answers 2


Are you just typing the name of the directory? That will make bash try to execute it as if it was a command.

Use cd to navigate directories and ls to list files in that directory:

cd /game          # sets the working directory to /game
ls                # lists all files in /game (since the default is the working directory)
ls /html/game     # lists all files in /html/game

You can try ssh lisv22@chusmix.com 'ls' to view directory listing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.