scp -r /local/directory remote_username@ipaddress:/remote/directory
You may also like
This is the command to remove a folder/directory including its contents, use with caution as you wont get an “are you sure” […]
1) Do a TCPIP fix first TCPIP fixes reset NIC and TCPIP What I like to do on any network problem….Is to […]
The username and password needs to be encoded and sent in BASE64So if using username as the username it would become dXNlcm5hbWU= […]
IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on […]