Skip to content

balena-io-experimental/balena-openssh-passwordless

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resin-openssh-passwordless

SSH into a resin.io container using public-key auth

Installation

  1. Clone repo locally:

    $ git clone https://github.com/konradko/resin-openssh-passwordless
    
  2. Add resin.io remote:

    $ git remote add resin username@git.resin.io:username/project.git
    
  3. Set the CLIENT_PUBKEY environment variable to your public key in resin.io dashboard, on OSX you can copy it with:

    $ cat ~/.ssh/id_rsa.pub | pbcopy
    
  4. Deploy the application:

    $ make deploy
    

Usage

SSH into a container (you can get the device local IP address via resin.io dashboard or using resin-cli), e.g.:

$ ./ssh.sh 192.168.1.15

About

SSH into resin.io container using a public-key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 88.4%
  • Makefile 11.6%