Skip to content

Commit fc655d7

Browse files
authored
Update README.md
1 parent caff7a5 commit fc655d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ssh/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ssh -p 3022 cloudera@127.0.0.1 mkdir -p .ssh
1818

1919
### 4. Upload Generated Public Keys from Client to Remote machine
2020
```bash
21-
cat .ssh/id_rsa.pub | ssh -p 3022 cloudera@127.0.0.1 'cat >> .ssh/authorized_keys'
21+
cat ~/.ssh/id_rsa.pub | ssh -p 3022 cloudera@127.0.0.1 'cat >> ~/.ssh/authorized_keys'
2222
```
2323

2424
### 5. Set Permissions on Remote machine
2525
```bash
26-
ssh -p 3022 cloudera@127.0.0.1 "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"
26+
ssh -p 3022 cloudera@127.0.0.1 "chmod 700 .ssh; chmod 640 ~/.ssh/authorized_keys"
2727
```
2828

2929
### 5. Make an alias for Remote server

0 commit comments

Comments
 (0)