.ssh/environment equivalent in dropbear
matt at ucc.asn.au
Sun Aug 26 19:30:48 WST 2007
On Sun, Aug 26, 2007 at 12:46:50PM +0200, Christoph Kurrat wrote:
> I'm using dropbear-0.50 on an AVM Router.
> Since I've got rw-access only on /var/tmp, the dropbearmulti is located there.
> Everything works fine, except scp on Linux.
> After logging in I get the error:
> sh: scp: not found
> I've found out that scp uses ssh in non-login mode, and for this
> reason, $PATH is not set correctly and therefore scp is not found.
> Google told me, that with openssh I would have to put the PATH
> variable into .ssh/environmemt and to set PermitUserEnvironment=yes to
> set $PATH.
> Is there a possibility to set the PATH variable with dropbear?
Not in Dropbear itself. You might be able to edit a dotfile
for your shell to set environment variables? (I know .zshenv
works for zsh, though not sure about BusyBox shells)
More information about the Dropbear