That is correct. When your command is executed as roor, ~~(=your homedir) 
is /root.
So everything is fine.
Am Mittwoch 31 Oktober 2007 09:31 schrieb Michael Grant:
> If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from
> /root/.ssh/.  The docs say it reads from ~/.ssh which is what I want,
> but it's not doing that.  When sued, the shell is properly expanding ~
> to my home dir.
> Anyone know of a way around this behavior?
> Michael Grant
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to

Attachment: pgpi45wDqu9gi.pgp
Description: PGP signature

Reply via email to