sftp_centos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sftp_centos [2017/07/24 10:48] – luke7858 | sftp_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 59: | Line 59: | ||
| useradd -d / | useradd -d / | ||
| </ | </ | ||
| - | \\ | ||
| Now change the password with | Now change the password with | ||
| <sxh bash> | <sxh bash> | ||
| Line 108: | Line 107: | ||
| == Option 1 == | == Option 1 == | ||
| <sxh bash> | <sxh bash> | ||
| - | chmod 711 /home/user/ | + | chmod 711 /home/ |
| chmod 755 / | chmod 755 / | ||
| Line 190: | Line 189: | ||
| </ | </ | ||
| <sxh bash> | <sxh bash> | ||
| - | sftp -p port user@host | + | sftp -P <port> user@host |
| </ | </ | ||
sftp_centos.1500893315.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
