Re: About connect to the SSH Server with your wodS - WeOnlyDo Discussion board

Re: About connect to the SSH Server with your wodS (General questions)

by amaio, Saturday, August 18, 2007, 13:33 (6311 days ago) @ wodDamir

You counld not understand my second question.Given a example:
1.I use the Username,password property,and I assume the Username is 'test'
2.I use the method connect() to connect SSH server successfully
3.I use the method Execute('ls')
4.The Server will send client about all the file name of one directory,and I assume one file name is 'test.txt'
5.The client will receive the information about the files' name from the server
6.I can all the filename except the file named 'test.txt' because the file name is the same as the username 'test'
7.But if I set the property Username 'root' then I use the method connect(),then use the method Execute('ls'),finally I can receive all the files' name including the file named 'test'
Only because the filename is the same as Username,the file name is not shown.Why?


Complete thread: