Nextcloud: unable to ssh or sftp
-
@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.