Commit 09c79741 authored by ANSHUL CHAUHAN's avatar ANSHUL CHAUHAN

lab3

parent c68a07f3
#!/bin/bash
address=$1@$2
#ssh-keygen
echo -e 'y\n' | ssh-keygen -q -t rsa -N "" -f ~/.ssh/id_rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub $address
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment