bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

[Redmine] can't change permission for /etc/ssh/sshd_config #1488

Closed mwdqaqc closed 4 months ago

mwdqaqc commented 5 months ago

Describe your issue as much as you can

image

mwdqaqc commented 5 months ago

I am new to Linux. Download bitnami-redmine-5.1.2-r95-debian-12-amd64.ova and set up VM. Change the password and try to follow https://docs.bitnami.com/virtual-machine/faq/get-started/enable-ssh-password/

Edit the /etc/ssh/sshd_config and modify or add the following line:

PasswordAuthentication yes

Try vi /etc/ssh/sshd_config

chmod 777 /etc/ssh/sshd_config doesn't work.

Please advise!

mwdqaqc commented 5 months ago

chmod +rwx /etc/ssh/sshd_config doesn't work either.

mwdqaqc commented 5 months ago

If I can't change the permission, I can not modify: PasswordAuthentication to yes

jotamartos commented 5 months ago

Hi @mwdqaqc,

You need admin permissions to edit the file. To achieve that, you simply need to use "sudo" and the command line editor you use. For example:

sudo vi /etc/ssh/sshd_config 
github-actions[bot] commented 5 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 4 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.