mirror of
https://github.com/YGGverse/nexy.git
synced 2026-03-31 17:25:27 +00:00
Updated SSH (markdown)
parent
29c81ea204
commit
26f2505410
1 changed files with 8 additions and 4 deletions
12
SSH.md
12
SSH.md
|
|
@ -1,8 +1,10 @@
|
|||
The tips below provide configuration details for accessing remote files over SSH.
|
||||
|
||||
## Linux
|
||||
## Server
|
||||
|
||||
### System user
|
||||
### Linux
|
||||
|
||||
#### System user
|
||||
|
||||
1. `useradd -m nexy` - create new system user with its home directory
|
||||
2. `passwd nexy` - provide strong password
|
||||
|
|
@ -10,7 +12,7 @@ The tips below provide configuration details for accessing remote files over SSH
|
|||
4. `cd` - navigate to the home folder
|
||||
5. `mkdir /home/nexy/public` - create location for the public fies
|
||||
|
||||
### Firewall
|
||||
#### Firewall
|
||||
|
||||
Don't forget to open the SSH port to access your server remotely:
|
||||
|
||||
|
|
@ -20,7 +22,9 @@ sudo ufw allow 22
|
|||
* replace `22` with your custom port (if it's not default)
|
||||
* use additional filters to allow access from specified hosts.
|
||||
|
||||
## VSCode
|
||||
## Client
|
||||
|
||||
### VSCode
|
||||
|
||||
This example is useful for syncing text files on save. Make sure you have this [SSH extension](https://marketplace.visualstudio.com/items?itemName=Natizyskunk.sftp) installed to continue.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue