update jump-host.md

main
Yik Teng Hie 2 years ago
parent 2b4b95c14d
commit ed8343fe53

@ -72,7 +72,7 @@ $ ssh -L 3000:172.30.30.21:3000 -L 29419:172.30.30.21:29419 mitpenang@jump-host-
```
2. Open Chrome. Browse to Source Control Server [Mitech : Gitea](http://dev.mitech.com.sg:3000)
3. Setup Gitea repo SSH access. [Reference from Github]](https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html)
3. Setup Gitea repo SSH access. [Reference from Github](https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html)
4. To clone, use `git ssh://...`
5. Alternatively, use below command to keep the ssh port forwarding active in background
```shell

@ -41,9 +41,9 @@ Match User mitechextusers
```
* Upload user ssh key to sftp server
* Upload user ssh key to sftp server under mitech user
* Login to sftp server under mitech
* Login to sftp server under mitech user
* Copy uploaded ssh key from sftp server to jump-host-ext
```bash
$ cat ./id_rsa.pub | ssh mitechextusers@10.0.0.149 "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

Loading…
Cancel
Save