/dev/ttyX
device. socat
command but not working correctlytelnet
command. Keep in mind that your connection is entirely unencrypted.-u
option:netcat
or nc
interchangeably. They are aliases for the same command.-z
option to perform a scan instead of attempting to initiate a connection.-z
option, we have also specified the -v
option to tell netcat to provide more verbose information.-n
flag to specify that you do not need to resolve the IP address using DNS:2>&1
bash syntax. We will then filter the results with grep
:-l
parameter and choosing a port:ENTER
. It will appear on both the local and remote screen. This works in the opposite direction as well.CTRL-D
to close the TCP connection.dd
command to image a disk on one side and transfer it to a remote computer. We won't be covering this here though.CTRL-C
on the server.