Skip to content

A Clojure library designed to interact with the SSH CLI to perform tasks like setting up passwordless SSH between machines, executing remote commands, performing SCP, etc.

License

Notifications You must be signed in to change notification settings

punit-naik/ssh-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clojars Project

ssh-cli

A Clojure library designed to interact with the SSH CLI to perform tasks like setting up passwordless SSH between machines, executing remote commands, performing SCP, etc.

Requirements

You need to have the following installed:

sudo apt-get install -y openssh-server openssh-client

Chances are you already have the above installed 😃

Install the following utility for passing passwords prompted by SSH in the CLI itself (non-interactive) i.e. if you are opting to authenticate via password and not a private key (the latter is recommended):

sudo apt-get install -y sshpass

Testing

NOTE: Please paste your local machine's password as text in the resources/passwd file before continuing with the below command and also, please remove your public key from ~/.ssh/authorized_keys if present!

lein test

License

Copyright © 2018 Punit Naik

Distributed under the Eclipse Public License version 1.0.

About

A Clojure library designed to interact with the SSH CLI to perform tasks like setting up passwordless SSH between machines, executing remote commands, performing SCP, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published