[command] | pbcopy Note: pbcopy is an OS X command Example: ssh [user@location] [command] | pbcopy