So I know I can run a terminal command, ok?
What if I want to run say... a vi command or mkdir command INSIDE ssh?
If I want to make it insert a directory in a server via SSH, possible?
Last time I checked I think when you run commands like cd or run commands from the cd like ./mycommand from inside a C++ file and you run cd /usr first, it still runs the command from the folder the C++ file is in, I want to change the directory to what I want THEN run it.
That's just an example, I'm actually trying to make an auto uploader for SSH to make my job a bit faster.
OH ALSO, when you ssh it asks for password.... is there a way to submit the password? Same goes for running sudo commands...