-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to set up remote access #18
Comments
I was able to replicate an error when I ran a test on the remoteaccess feature just now. Unfortunately it wasn't the error you've experienced. The error I experienced was that the system couldn't find the dracut-network package. I think the error might have been related to recent apt mirror handling changes. I've added a step to update the package sources before installing dracut-network. Could you test it? You'll need to re-install (or rollback to before you ran the remoteaccess feature) to ensure there is no conflict with the previously failed remoteaccess install attempt. |
unfortunately not :( it still ends with an error that crypt ssh could not be found:
|
You rolled back or tried a re-install before running the remoteaccess feature again? Dracut-network shouldn't have been installed at that point so you shouldn't see the following in your log: You also shouldn't have seen the following, which is indicative of remoteaccess having been previously run. |
the paste in my original issue was like the eleventeenth time I tried to run it. I'd spent an hour or two trying to manually fix it (removing dropbear.conf, uninstalling dracut-network, clearing the 60-cryppt-ssh folder etc) the latest one was after rolling back, but perhaps I didn't rollback far enough. |
It might be quicker just to do a reinstall. |
yeah that's my next step I think. It's my main workstation, so I'll be doing it after work hours |
Which variant are you installing? Server? Ubuntu Desktop? |
server but I later installed Honestly this installation was an absolute shitshow, I need to do it again for a myriad of reasons. On 4 other machines I installed ubuntu-server with your script with no issues whatsoever |
I've just tested an ubuntu-desktop-minimal install with remoteaccess and it all worked fine. I didn't do a server install first. Let me know how your re-install goes. |
so it seems to work on a jammy install, however it fails on kinetic. Which isn't even listed as supported here, so I guess I should have thought more carefully before opening the issue! |
No problem. You’ve got me curious as to what has changed in kinetic. |
It looks like the relevant dracut issue is here. A pull request was created to resolve the issue here. |
Add the following line: after this line: to resolve the issue with remoteaccess on 23.04. The fix is a workaround suggested in the dracut issue thread linked above. When upstream rolls out a fix then the workaround shouldn't be required. I've tested with 23.04 server but not with any of the desktop variants which install network manager. |
Ive found an issue with the remoteaccess on 23.04 that it only works when using root's authorized_keys. I've identified the problem and suggested a fix for upstream at the link below. I have a fix ready for the script that I can roll out, but I'll see if upstream fixes first. |
I've gone ahead and added the fixes to the scripts. They shouldn't conflict even if the issues are fixed upstream. |
Post reboot, and post installation, I'm trying to set up remote access to zbm,and it's failing.
Here's the output when I run
ubuntu_server_encrypted_root_zfs.sh remoteaccess
:It seems to be missing all the dracut modules for reasons I'm unclear on.
The text was updated successfully, but these errors were encountered: