# After restart my server i cannot SSH , SFTP and ProFTPD Stopped

**URL:** <https://forum.virtualmin.com/t/after-restart-my-server-i-cannot-ssh-sftp-and-proftpd-stopped/105536>\
**Category:** Virtualmin\
**Created:** [May 4, 2020, 3:26am UTC](https://forum.virtualmin.com/t/after-restart-my-server-i-cannot-ssh-sftp-and-proftpd-stopped/105536 "2020-05-04T03:26:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyinit2012](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/anthonyinit2012/32/674_2.png) [@anthonyinit2012](https://forum.virtualmin.com/u/anthonyinit2012)\
**Post date:** [May 4, 2020, 3:26am UTC](https://forum.virtualmin.com/t/after-restart-my-server-i-cannot-ssh-sftp-and-proftpd-stopped/105536/1 "2020-05-04T03:26:25Z")

</div>

Hello all,

I did a fresh restart to my box after restart I cannot log in to SSH as well as SFTP however I’m able to login to the control panel with port 10000

I check my etc/ssh and this directory contains only 3 files **“moduli”, “ssh\_config”, sshd\_config**

Also, my ProFTPD FTP Server stoped

I’m not sure how and where to start my troubleshooting.

Can someone give me little support here.

Thank you

---

<div class="post-metadata">

**Author:** ![anthonyinit2012](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/anthonyinit2012/32/674_2.png) [@anthonyinit2012](https://forum.virtualmin.com/u/anthonyinit2012)\
**Post date:** [May 4, 2020, 6:01am UTC](https://forum.virtualmin.com/t/after-restart-my-server-i-cannot-ssh-sftp-and-proftpd-stopped/105536/2 "2020-05-04T06:01:48Z")

</div>

Solved it with this [https://www.virtualmin.com/comment/759687#comment-759687](https://www.virtualmin.com/comment/759687#comment-759687)

```
# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
# ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
# systemctl restart sshd

```

Root access and SFTP working and I can see /etc/ssh has all the key files

ProFTPD  
` apt-get purge proftpd-basic`  
` apt-get install proftpd-basic`

That also start working…

Atleast now I’m happy

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [May 8, 2020, 6:01am UTC](https://forum.virtualmin.com/t/after-restart-my-server-i-cannot-ssh-sftp-and-proftpd-stopped/105536/3 "2020-05-08T06:01:53Z")

</div>

Closed on May 8, 2020, 6:01am UTC

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
