Nextcloud: unable to ssh or sftp
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
-
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
-
@dafyre said in Nextcloud: unable to ssh or sftp:
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
That is just it.
I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dafyre said in Nextcloud: unable to ssh or sftp:
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
That is just it.
I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.
Hmm... SSH limited to a specific IP set?
Edit: Or config file changes by updates that now block root logins?
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dafyre said in Nextcloud: unable to ssh or sftp:
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
That is just it.
I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.
Why not just use keys? While it is still encrypted, when you use a password the password has to be sent to the remote system to verify. When using keys, the private key is never sent over the wire. So even a 500 character pass is still less secure than a simple ed25519 key that's only 80 characters in length.
-
Keys may very well be a good solution - and the right one. However at this point it is not planned as I am doing a data sync and will be shutting it down. I've not been using it, nor has anyone else that has access to it. So, I jus don't see the need to keep it up right now. I can turn around and if needed self host internally at home - but why, I have the ReadyNAS already.
-
@dafyre said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dafyre said in Nextcloud: unable to ssh or sftp:
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
That is just it.
I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.
Hmm... SSH limited to a specific IP set?
Edit: Or config file changes by updates that now block root logins?
I was finally able to sign in via SSH on my local windows box. The hang up now is getting in with Filezilla or winSCP to download the files...
I've connected with Filezilla in the past using sFTP://IP address. So I know it does work.
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
For whatever reason, I cannot ssh into my Nextcloud instance on Vultr using my desktop computer, nor can I sftp.
I can connect via my cell phone (Termius)Isn't that SSH?
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
Since my ip is getting banned by fail2ban- I would think that they are.
Turn Fail2Ban off until yo ufigure it out.
-
@dafyre said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dafyre said in Nextcloud: unable to ssh or sftp:
@stacksofplates said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@stacksofplates
Since my ip is getting banned by fail2ban- I would think that they are.I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.
That's what keys are for.
Or a password manager, lol.
That is just it.
I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.
Hmm... SSH limited to a specific IP set?
Edit: Or config file changes by updates that now block root logins?
netstat -tulpn
to verify
-
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
About the fifth time manually typing the lengthy complex password/code and I got connected. all I can do is roll my eyes as files download.
side note, if you add the Cookbook app to NC, I have a few tricks to share ..
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
-
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.
What else would be messing with the clipboard?
-
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.
What else would be messing with the clipboard?
But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?
Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -
-
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.
What else would be messing with the clipboard?
But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?
Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -
what you describe is the use of clipboard. but without a keylogger it's hard to see if extra stuff is being input or left off...
-
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
@dashrender said in Nextcloud: unable to ssh or sftp:
@gjacobse said in Nextcloud: unable to ssh or sftp:
Thanks to all - seems that something was getting into the clipboard that shouldn't have been.
That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.
That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.
What else would be messing with the clipboard?
But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?
Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -
what you describe is the use of clipboard. but without a keylogger it's hard to see if extra stuff is being input or left off...
If using Windows, there may be extra spaces at the beginning/end and it also might not be moving things to the clipboard the first time. So annoying seeing this happen to users computers now in addition to my own.
-
Use SSH keys and whitelist your IP using Vultr firewall. When your IP changes, login to vultr console and add it.
Much safer and way easier.