Windows client and ssh
Bernhard Poess
poess at ira.uka.de
Tue Dec 20 16:41:20 UTC 2005
Thomas Arendsen Hein wrote:
> Hmm, look at this:
>
> $ foo bar baz
> bash: foo: command not found
>
> $ "foo bar baz"
> bash: foo bar baz: command not found
>
> $ bash "foo bar baz"
> foo bar baz: foo bar baz: No such file or directory
>
> $ cat < foo
> bash: foo: No such file or directory
>
> $ cat < "foo bar baz"
> bash: foo bar baz: No such file or directory
>
>
> So the second cat command is the only one which produces the error
> you get.
>
> Please try something like:
> ssh2.exe poess at i30s5.ira.uka.de id
> and
> ssh2.exe poess at i30s5.ira.uka.de "echo hallo"
> and
> ssh2.exe poess at i30s5.ira.uka.de "/bin/echo hallo"
>
> ... and report the results.
>
> Thomas
Output looks like this:
D:\>ssh2.exe poess at i30s5.ira.uka.de id
poess's password:
Authentication successful.
uid=3045(poess) gid=302(i30stud) groups=302(i30stud)
D:\>ssh2.exe poess at i30s5.ira.uka.de "echo hallo"
poess's password:
Authentication successful.
hallo
D:\>ssh2.exe poess at i30s5.ira.uka.de "/bin/echo hallo"
poess's password:
Authentication successful.
hallo
D:\>ssh2.exe poess at i30s5.ira.uka.de hg
poess's password:
Authentication successful.
Mercurial Distributed SCM
basic commands (use "hg help" for the full list or option "-v" for details):
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
diff diff repository (or selected files)
export dump the header and diffs for one or more changesets
init create a new repository in the given directory
log show revision history of entire repository or files
parents show the parents of the working dir or revision
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
revert revert modified files or dirs back to their unmodified states
serve export the repository via HTTP
status show changed files in the working directory
update update or merge working directory
I added the last one to ensure that my hg environment is sane.
-Bernhard
More information about the Mercurial
mailing list