SSH connection using terminal and file upload download
You can use the terminal, which is the default Mac program, to connect SSH and upload files and download files.
ssh -p port number account@domain
If you use the default port, you can omit the -p option and port number.
#ssh -p 2200 root@site-domain.com
ssh -p port number account@domain: remote path local path
#scp -P 2200 root@site-domain.com:/var/www/html/aaa.txt /Users/dev/Documents/
ssh -p port number local path account@domain: remote path
#scp -P 2200 /Users/dev/Documents/abc.txt root@site-domain.com:/var/www/html/
Warning: require(../footer/php): failed to open stream: No such file or directory in /var/www/html/devez/website/src/blog/mac/ Connect and download file upload.php on line 32
Fatal error: require(): Failed opening required'../footer/php' (include_path='.:/usr/share/pear:/usr/share/php') in /var /www/html/devez/website/src/blog/mac/ SSH connection using terminal and file upload download.php on line 32