Do not forget to create a target/
directory.
Be sure to have the libssh
dev package installed.
libssh-dev on debian.
Get the libssh
library on Ubuntu/Debian using the following command:
apt-get install libssh-dev
Run...
make
ormake run
to build and run the program.make build
to only build the program (built into thetarget
directory).make clean
to remove everything in thetarget
directory.
Should work in wsl
.
For that see the UNIX instructions.
Write an application that connects to test.rebex.net
on port 22
via SSH.
- User: demo
- Password: password
- Print out the contents and permissions of the root directory.
- Print out the contents of the
pub/example
directory. - Extra extensions:
- visual representation (not implemented)
- user input for
host
,port
,username
and password