Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 03:44:59 +0000
From:      Tino Engel <elrap@web.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh
Message-ID:  <200711010345.03759.elrap@web.de>
In-Reply-To: <62b856460710310231h3bc517cdl20300179ac6f1a39@mail.gmail.com>
References:  <62b856460710310231h3bc517cdl20300179ac6f1a39@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3941088.90o6vcCFOk
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

That is correct. When your command is executed as roor, ~~(=3Dyour homedir)=
=20
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

--nextPart3941088.90o6vcCFOk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBHKUu/4xizT/jJ1lERAml2AJ95N+ZsFvI7d/IsltNGiG1ESAG+GACgnbUS
2xxFg3Sis9wdeDbJ4Jd2DzE=
=6R5o
-----END PGP SIGNATURE-----

--nextPart3941088.90o6vcCFOk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711010345.03759.elrap>