ssh/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: Apache-2.0

README

SCION enabled SSH

SSH client and server running over SCION network.

Dependencies

Building the SSH client and server applications requires libpam0g-dev:

sudo apt-get install -y libpam0g-dev
Usage

SCION infrastructure has to be installed and running. Instructions can be found here

You'll need to create a client key (if you don't have one yet):

cd ~/.ssh
ssh-keygen -t rsa -f id_rsa

And create an authorized key file for the server with the public key (note that you'd usually place this in /home/<user>/.ssh/authorized_keys whereas <user> is the user on the server you want to gain access to, but make sure not to overwrite an existing file):

cd scion-apps/ssh/server
cp ~/.ssh/id_rsa.pub ./authorized_keys

Running the server:

cd scion-apps/ssh/server
# If you are not root, you need to use sudo. You might also need the -E flag to preserve environment variables.
sudo -E ./server -oPort=2200 -oAuthorizedKeysFile=./authorized_keys
# You might also want to disable password authentication for security reasons with -oPasswordAuthentication=no

Running the client:

cd scion-apps/ssh/client
./client -p 2200 1-ffaa:1:abc,[127.0.0.1] -oUser=username

Using SCP:

cd scion-apps/ssh/scp
./scp.sh -P 2200 localFileToCopy.txt [1-ffaa:1:abc,[127.0.0.1]]:remoteTarget.txt

Directories

Path Synopsis
ssh
ssh/knownhosts
Package knownhosts implements a parser for the OpenSSH known_hosts host key database.
Package knownhosts implements a parser for the OpenSSH known_hosts host key database.
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL