Commit b4a85f27 authored by Tru  HUYNH's avatar Tru HUYNH

public keys

parent 86acda70
mkdir -p /home/bga2017/.ssh
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmpLjVvnD4gn4G5G5rbt6bGHMKCgJ/UM5APv7noFDPFnEs/rB92dHJcofRNUnZtMLf5r8Vv3wf+Rmppm6dIctSDVOyOtHsOFhwL9G99rAyut5E8LZxw33jJ7yGJE0xtQAGyFyRK2D9/taB1orp/NYVFMzgbWsE8oVWG9f2VeDLYqVv5gzuBMKbBTFXGLC0MTQz3IekQ8Xf1NK0Pwkk87V0YI8F8YU1vKdIGlfLOvlqep1zcDmX53za3dXZNHDqfF8Q8kpixdSsWhbSTGqNJt2ljlTyqaIyzPgFSkUZOozL5CoBYyMyWQTvgnuGnS/MFlJd2cgON318Yn9Ek9SNi0Al bga2017-student' >/home/bga2017/.ssh/authorized_keys
chmod 0700 /home/bga2017/.ssh
chmod 0600 /home/bga2017/.ssh/authorized_keys
restorecon -rv /home/bga2017
mkdir -p /home/centos/.ssh
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1k/QM9bIIGYzgRSuUD3dHFH7UtvNBggiqoL2B4+3paUi4bFffbf6a6wfpZGZNC9tFzWZj1/DxZ36WZgmpWq4R9XV6iyUayOB8qaFQw08GHV+wmSO1Z8ZZgs5snqWQ/AXQNRVhFEV+VKBB6/sCBz3haIN51epwo5r5NoTaKAZ33gH1mjUDRj5CvUwWSWpEg1QeO3woC9jm8eBxRHQMHRBr+SSLSh/V4DCimMkdJpeOYrtzHsEQp3QJFDc0IGU/XXDL6zU0GooI9HcXAd5LUkUhtxRdLgyGFRcmI4n8idCyktBmVkB7myF1j6MUycjHCOz5y3UsJq87AcvysvKXmZCj noc-auth' > /home/centos/.ssh/authorized_keys
chmod 0700 /home/centos/.ssh
chmod 0600 /home/centos/.ssh/authorized_keys
restorecon -rv /home/centos
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