Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. cmd1 = malloc(100);
  2. snprintf(cmd1, 80, "./ssh-keygen -y -f %s > %s ",
  3. "/etc/ssh/ssh_host_dsa_key", "/etc/ssh/ssh_host_dsa_key.pub");
  4. rc = system(cmd1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement