login permission over scp

Черногорский Михаил jamper at mosline.ru
Thu Feb 17 08:42:26 GMT 2005


Using scp without password (identy.pub authorized.key)

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

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

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

what can i do to reduce permission user at b




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



More information about the freebsd-questions mailing list