If the use the following scp command then I get an error:
scp -P 22 username@xxx.xxx.xxx.xxx: /home/username/public_html/* ./
The error I get is:
stdin: is not a tty
scp: .: not a regular file
What am I doing wrong?
Thanks for help.
scp
If the use the following scp command then I get an error:
scp -P 22 username@xxx.xxx.xxx.xxx: /home/username/public_html/* ./
The error I get is:
stdin: is not a tty
scp: .: not a regular file
What am I doing wrong?
Thanks for help.
Best Answer
You don't need the space after the IP address of the remote machine: