Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 11:42:11 +0300
From:      =?Windows-1251?Q?=D7=E5=F0=ED=EE=E3=EE=F0=F1=EA=E8=E9_=CC=E8=F5=E0=E8=EB?= <jamper@mosline.ru>
To:        freebsd-questions@freebsd.org
Subject:   login permission over scp
Message-ID:  <111442689.20050217114211@mosline.ru>

next in thread | raw e-mail | index | archive | help
=0D=0AUsing scp without password (identy.pub authorized.key)

in cron
user1@A$> scp ./files user@b:/home/user/files

all work but
i need only secure copy, but must give full user shell to user user1@A
on host B. if attaker take control of A, he can shell to user@b

setting /sbin/nologin to shell user@B- scp not work

what can i do to reduce permission user@b




--=20
Michail V. Chernogorsky,
Mosline ISP systems administrator
tel. +7(095)782-45-33



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