Skip to content

Commit 2f46820

Browse files
Serhii PonomarovSerhii Ponomarov
authored andcommitted
SSH forwarding example
1 parent a68ab30 commit 2f46820

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ Bash server:
7575
this is a bash instance running on the server
7676

7777

78+
SSH forwarding:
79+
80+
server$ sshfront example/sshforward
81+
client$ ssh alice@$SERVER
82+
Forward ssh [email protected]...
83+
Welcome to another.server
84+
85+
7886
## Sponsors
7987

8088
This project was made possible thanks to [Deis](http://deis.io) and [DigitalOcean](http://digitalocean.com).

example/sshforward

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
echo "Forward ssh ${USER}@localhost..."
3+
ssh "${USER}@localhost"

0 commit comments

Comments
 (0)