script issue with scp to AIX server when login=false
I have a bunch of ksh scripts that I use to move files from one AIX server to another via a public key access. Recently, one of the logins used has become a privileged account, that the auditors don't want direct login to. When login=false, scp to that login suddenly stopped working, though sftp still works. Is there an option somewhere that I can set to allow scp to continue to work to that server, while still allowing scp and sftp to work?
Re: script issue with scp to AIX server when login=false
you could use ssh keys and specify the exact command allowed in their ~/.ssh/authorized_keys file
no-port-forwarding,no-pty,command="scp source target" ssh-dss