Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SSH-Copy-ID

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Emrys



Joined: Sat Feb 11, 2012 7:48 pm
Posts: 2

PostPosted: Sat Feb 11, 2012 7:54 pm    Post subject: SSH-Copy-ID Reply with quote

is there a way to tell the ssh-copy-id script that you use another port?
Back to top
View user's profile Send private message
nelz
Moderator


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 7992
Location: Warrington, UK

PostPosted: Sat Feb 11, 2012 8:17 pm    Post subject: Reply with quote

It doesn't look like it, but it is easy enough to do this without the script

Code:
cat public-key-file | ssh -p port-num user@host tee -a .ssh/authorized_keys

_________________
Unix is user-friendly. It's just very selective about who it's friends are.
Back to top
View user's profile Send private message
Emrys



Joined: Sat Feb 11, 2012 7:48 pm
Posts: 2

PostPosted: Sat Feb 11, 2012 8:33 pm    Post subject: Reply with quote

Great, thanks for the prompt reply.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast