Tag Info

New answers tagged

4

As far as I know you cannot do this with SFTP nor ProFTPD. What I have done in the past with a similar requirement is to have program that runs as root scan the toplevel directories for an agreed upon file (in your case agreed upon with Alice and Bob e.g. account.new). Based on the content of that file the script run by root takes the appropriate actions, ...


0

You typically can start services on Puppy using /etc/init.d scripts. $ sudo /etc/init.d/sshd start If you find that it's already running, like so: $ netstat -anplt | grep :22 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:22 0.0.0.0:* ...


1

Yes. You can use the file at /etc/pam.d/sshd. Testing I added a new user as testuser using the adduser command. I added the below entry in my /etc/ssh/sshd.deny file. (If it doesn't exist you can create the file). testuser Now, I added the below entry in my /etc/pam.d/sshd file. It is a good practice to backup your existing sshd file before making any ...


0

This is the best way I have found to do this. You want something on the server side that attempts to read stdin and then kills the process group when that fails, but you also want a stdin on the client side that blocks until the server side process is done and will not leave lingering processes like <(sleep infinity) might. ssh localhost "sleep 99 < ...


0

I realize this is an old question, but i think this is a valid addition for future searches. Upgrading your sshd should not cause the host key to be recreated, so you are fine with an upgrade. Upgrading your server however, may cause a new host key to be created. The message you are describing appears when the ssh client does not recognize the host key of ...



Top 50 recent answers are included