-
Notifications
You must be signed in to change notification settings - Fork 410
Secure connection to pigpiod
Guy McSwain edited this page Jun 9, 2020
·
1 revision
- Client's SSH authorized key on remote pigpiod host
- pigpiod running with -l option (allow only localhost connection)
ssh -L 8888:localhost:8888 pi@pigpiod_hostname \
-i /path/to/ssh/identity_file \
-N -f
- -L Sets up local port forwarding. A socket listening on this host's port 8888 establishes a connection to the remote sshd
pi@pigpiod_hostname
requesting a connection to the destinationlocalhost:8888
. - -i This host's private key.
- -N Don't run a command. (By default ssh opens a terminal or runs a command.)
- -f Run in background.
pigs hwver