I've been facing this issue since I installed Bitdefender a few weeks ago. I have their VPN running, and docker is able to communicate docker hub with the VPN turned off or with split tunneling. However, I am having problems with logging into GitHub and other accounts that need web logins with OAuth in the docker containers and on WSL2. Some accounts allow for device login, so I am able to use those by pasting in a code. I was unable to make any connections from the WSL2 or containers to the internet at all until I changed the /etc/resolveh.conf to nameserver to 8.8.8.8, but that is reset every time the wsl2 or containers restart, and the problem persists even with the VPN turned off. After trying a lot of things with the container settings keychains, etc, I able was to have it log in to GitHub with the browser window popping up, after setting up ssh and gh in the terminal, but that doesn't happen with some of the other accounts. The browser doesn't even open to authenticate, or it opens the browser and I authenticate, but vscode doesn't respond when the browser redirects after logging in. It also displays an error "Writing login information to the keychain failed with error 'Not enough memory resources are available to process this command." I cleared out the %temp$ folder as someone suggested, but that didn't seem to help anything. Shouldn't be any problems with memory. I'm not keen on running long strings of commands into my terminal where I don't know what they are doing. I was also hesitant to fiddle around with registry entries as someone posted somewhere. Any help with this would be greatly appreciated. Do I need to open some other ports for the container? Some of the networking stuff with Docker and WSL2 is a bit beyond me. I think Bitdefender might have changed some security policies or something.IDK.
I have already set up the auto-login settings and checked the bypass legal disclaimer. I am getting this message: AAE was unable to unlock or logon onto the machine xxxx
-AAE Auto Login Service is running
-It only works in locked state. This previously worked and noticed it wasn't when I changed my windows password (password updated in auto-login settings).
-I also ran the Auto-Login diagnostic utility I found in their website --no issue
-We are using AAE 10.5 on Windows Server 2012 R2.
Your feedback will be very much appreciated.
Restarting the machine solves the auto-login issue. But need to find a workaround as we don't want to restart the server every time we change passwords.
I have seen similar questions, but nothing helped.
Like here:
SSH login with no authentication
SSH session without ANY authentication
My problem is as the question states. I want to setup ssh to work without any password prompt or any keys. Means, doing
ssh computer#IP_address
should give me access to the remote machine.
Question ends here^^^^^^^^^^^. Details of what I'm trying to achieve:
I have a docker image of Ubuntu in which I'm trying to install ssh. This has 2 reasons: easy file transfer using scp and the other is, that I sometimes, by mistake I close docker without committing and end up losing all my progress/data. So I want to make it such that I run the docker container in the background and only access it using ssh. Also, I am working in a team and I'll need to some other outside people(who download my docker image) to be able to work with it easily as well, which is why I want it to be ssh-accessible without a login.
You should look at setting PermitEmptyPasswords to yes in your sshd_config file and restard sshd service.
PermitEmptyPasswords
When password authentication is allowed, it specifies whether the server allows login to accounts with empty password strings. The default is ''no''.
Because this question was never answered, I was hoping someone could help me reset the password to connect to my neo4j password (at localhost:7474). Zachary wrote a post on solving this by someone restarting the service using:
sudo service neo4j-service restart
but I did not find this helpful. In the terminal, I ran bin/neo4j restart (which I think is the equivalent command), and was not able to reset my password.
Depending on environment and installation type you need to look for a file named auth under directory dbms and remove it.
In MacOs, for dmg installations (adjust for custom locations):
/Users/xyz/Documents/Neo4j/default.graphdb/dbms/auth
or (homebrew install)
/usr/local/Cellar/neo4j/x.x.x/libexec/data/dbms/auth
Windows users should look for same file in the default.graphdb/dbms directory.
In Ubuntu
/var/lib/neo4j/data/dbms/auth
In docker containers
/var/lib/neo4j/data/dbms/auth
Alternatively, you might choose to disable auth in the configuration file, usually found in
MacOs:
/Users/xyz/Documents/Neo4j/.neo4j.conf
or
/usr/local/Cellar/neo4j/x.x.x/libexec/conf
and set this property to false
dbms.security.auth_enabled=false
After doing this, you need to restart the server for changes to make effect, you will be asked for a new password.
In window machine, I deleted the auth file at following path :
Users\systemUser\Documents\Neo4j\default.graphdb\data\dbms and then I restarted the neo4j server.
Navigate to http://localhost:7474. It will ask you to enter the password for user neo4j. Enter default password (neo4j)
After this you will be navigated to change password screen. Change your password.
Note : for other operating systems auth file path may be different
I am running version 4.0.7. Many answers I found on the internet state "Delete /data/dbms/auth". That does not work for 4.0.7, that file does not exist.
I followed these instructions, and they worked.
https://neo4j.com/docs/operations-manual/current/configuration/password-and-user-recovery/
Mainly do this:
Stop neo4j if its running
edit /etc/neo4j/neo4j.conf, and uncomment dbms.security.auth_enabled=false
connect to the database and run
ALTER USER neo4j SET PASSWORD 'mynewpass';
:exit
Stop neo4j
comment out the dbms.security.auth_enabled=false
start neo4j
For the Mac, I had to remove ~/Documents/Neo4j/default.graphdb/data/dbms/auth
Then restart the server, and reset the password.
In addition to deleting the auth file, sudo rm /data/dbms/auth, I also had to set up local port forwarding for the browser port 7474 and the bolt connector port 7687. This is due to the outbound firewall for browsers of the network I am using.
On a DB and on a Windows installation of Neo4j Desktop (others can chime in if it works on Mac and Lnx), you can simply:
stop the DB,
click anywhere along the ribbon with the DB name and the "Open" button (this is hidden until you do a mousehover on this area) - I just click the name as there's no event on that label control and
you'll see along the RHS, the "Details", "Pluggins" and "Upgrade" options - select the "Details".
at the bottom, open the "Reset DBMS password" and you're good to go.
It's a bit scary as you don't need to know the original pwd...but since this should be used only for dev tasks and/or by the dba, that seems good for my lazy needs :)
HTH.
I am trying to create an iPhone app that connects to a Linux machine. The app should send a command via SSH to the Linux machine. I am using system("ssh david#192.xxx.x.xx gpio write 0 0" but this command doesn't include a password, so the log response is access denied. Does anyone know how to SSH into a Linux machine with a password?
The only way to achieve what you want on not Jailbroken devices is to use a lib like http://www.libssh.org to implement a ssh login within your App.
You can find examples on how to implement it there : http://api.libssh.org/master/libssh_tutor_guided_tour.html