Remote commands going through a bypass server
I need to do the following things:
- Connect to a bypass server that only has rdp available
- Connect to a server via ssh while being on the bypass server
- Execute the following commands on that server:
I see that you need to connect to a windows server and then run ssh commands. This complicates things a bit. Can you install any software on the bypass server?
If so you can install either a RAS and use the RAS to run ssh commands against the target servers. If installing a RAS won't work you can install an openssh server and run commands through ssh. Something like ssh <target server> -user -password -command (google the exact method of running ssh commands like this).
Without installing software onto the bypass server i currently don't know of any method to send commands from windows to linux via OO.