SSH Lost Terminal Colors

Posted by memecs on Ask Ubuntu See other posts from Ask Ubuntu or by memecs
Published on 2012-11-08T17:18:43Z Indexed on 2012/11/08 17:23 UTC
Read the original article Hit count: 228

Filed under:
|
|

I have to computers with exactly the same configuration (same PS1 etc...). When I ssh from A to B the terminal correctly displays PS1 and file type colors (i.e. blue directories, green executables etc.)

But when I ssh from B to A PS1 is set to default and colors disappear. Furthermore, I created public keys to ssh without password from A to B and vice-versa. It works correctly from A to B but it doesn't work from B to A, again I repeated the exact same procedure on both pc:

On Host A

ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub address.to.host.B

On Host B

ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub address.to.host.A

What could be the problem?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about ssh