Tino Engel elrap at
Wed Oct 31 19:45:22 PDT 2007

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
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list