ssh

Tino Engel elrap at web.de
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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071101/0d630330/attachment.pgp


More information about the freebsd-questions mailing list