$ echo '0 [123] 456' | sed 's/\[.*\]//' 0 456
就是.. 把 [.*] switch 成 empty.
因為 [,] 要 escapre,所以變成 \[.*\]
把他放到 s/pattern/replace/action 裡的 pattern.
$ echo '0 [123] 456' | sed 's/\[.*\]//' 0 456
$ssh-keygen -t rsa
$scp .ssh/id_rsa.pub a_server:~
$cat id_rsa.pub >> .ssh/autorized_keys
$ ssh-add Identity added: /home/charles-chang/.ssh/id_rsa (/home/charles-chang/.ssh/id_rsa)
Agent admitted failure to sign using the key.