- Clone the repository:
git clone https://github.com/devlup-labs/sos.git
-
Add your Oauth credentials in
cli/cli.go
andverifier/cli.go
in place of the dummy credentials. -
Build your verifier.
go build -o verifier ./verifier/
- To configure the server with your email id. (Note: you will need to enter the password approximately 4 times.)
go run cli/cli.go configure <email> <user>@<server-ip>
- (Optional) in case you want to configure a server with private key.
go run cli/cli.go configure <email> <user>@<server-ip> -i <pvt_key>
- Login to your gmail to generate your open pubkey.
go run cli/cli.go login
- (Optional in some cases) Run to add the ssh key.
ssh-add
Now you should be able to ssh into your server passwordless.