Hello All,
You might get the “cp: cannot create regular file `/var/empty/sshd/etc’: No Such file or directory” while starting the ssh service some time, to solve it you just need to create the directory with same path using below commands :
root@mylocalhost [~]# /etc/init.d/sshd start
cp: cannot create regular file `/var/empty/sshd/etc’: No such file or directory
This error is due to the missing folder /var/empty/sshd/etc.
To sort this you can use the following steps:
root@mylocalhost [~]# mkdir -p /var/empty/sshd/etc
root@mylocalhost [~]# chmod 755 /var/empty/sshd/etc
root@mylocalhost [~]# chown root.root /var/empty/sshd/etc
Now try restarting SSH.
root@mylocalhost [~]# /etc/init.d/sshd start
Starting sshd: [ OK ]
root@mylocalhost [~]#
Regards,
????? ?????? - ??????? BONUS 100% + 250 ?????????? ???????? ?? ?????? ?????????? ???????????? ??????? ????? ????????? ?????? ? ????????????…
RocketPlay Bonus: Practical Guide for Australian Players What Is the RocketPlay Bonus and Who Can Claim It? The RocketPlay bonus…
What is RocketPlay and Why PayID Matters?Getting Started: Registration and Verification StepsFunding Your Account: Using PayID and Other Deposit MethodsClaiming…
Introduction to Cloud Hosting In today's digital world, website performance can make or break an online business. Whether you run…
In the world of digital marketing, getting attention is only half the battle. The real goal is to convince people…