'



Όνομα

Theme Layout

Theme Translation

Trending Posts Display

Home Layout Display

Posts Title Display

404

We Are Sorry, Page Not Found

Home Page
Messing with a firewall or a network over a remote connection? Nerve wracking isn't it? Change the wrong setting and you'll be locked out, unable to fix it.

So why not undo your mistake? Schedule a job to run at a later time that undoes what you're about to do.

at now + 5 minutes <<< 'cp /etc/ssh/sshd_config.old /etc/ssh/sshd_config; service sshd restart'

If you screw up, the job will run and restore things to the way they were. If you your change works, then just run

atq

to check the queue of upcoming at jobs, and

atrm jobNumber


to remove it.
Leave A Reply

Δημήτρης Κουκοράβας

[name= Δημήτρης Κουκοράβας]

[img=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOSGebJyjaY4CrbYf9RcLyQ9Xq5K_lLTMhOHl38rwFS0-Z_We2tGi8GraogmC1GvOxDGV3VM93Ke9UHH6WgZGtn94smrwaEk1oUEYMnImhVp7JBbYLi4GINlx2Ic_ij_9l7CIHUGieP4k/w140-h140-p/2019-10-17.jpg]

[description= Αυτό το blog το έχω κυρίως σαν σημειωματάριο για όλα τα βιτσιόζικα πράγματα που κάνω στις συσκευές μου (και όχι μόνο).]