mirror of
				https://github.com/jakejarvis/dotfiles.git
				synced 2025-11-03 22:00:09 -05:00 
			
		
		
		
	switch id_rsa to id_ed25519
This commit is contained in:
		@@ -66,10 +66,10 @@ s3ls() {
 | 
				
			|||||||
# https://github.com/rtomayko/dotfiles/blob/rtomayko/.bashrc
 | 
					# https://github.com/rtomayko/dotfiles/blob/rtomayko/.bashrc
 | 
				
			||||||
push_ssh_cert() {
 | 
					push_ssh_cert() {
 | 
				
			||||||
  local _host
 | 
					  local _host
 | 
				
			||||||
  test -f ~/.ssh/id_rsa.pub || ssh-keygen -t rsa
 | 
					  test -f ~/.ssh/id_ed25519.pub || ssh-keygen -t ed25519
 | 
				
			||||||
  for _host in "$@";
 | 
					  for _host in "$@";
 | 
				
			||||||
  do
 | 
					  do
 | 
				
			||||||
    echo $_host
 | 
					    echo $_host
 | 
				
			||||||
    ssh $_host 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub
 | 
					    ssh $_host 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_ed25519.pub
 | 
				
			||||||
  done
 | 
					  done
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user