PDA

View Full Version : sudo ssh -N -L 3390:127.0.0.1:3390 - not working



surfd4wg
2021-06-07, 18:51
Hi,
I am trying to install kali in AWS on an EC2 instance.

I have the instance up and running and I am ssh'd into it.

My requirement is to login to the instance using RDP.

I was trying to follow these doc's:
https://www.kali.org/docs/cloud/aws/

However, what the command returns is:
┌──(kali㉿UBUNTU-54)-[~]
└─$ sudo ssh -N -L 3390:127.0.0.1:3390
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command]

As if it didn't understand the command.

Any help would be appreciated.

Regards,
sd.