- Go to Parallels Desktop menu bar
Devices > CD/DVD > Connect image
- Navigate to
/Applications/Parallels Desktop/Contents/Resources/Tools
- Click on
prl-tools-lin.iso
(for x86_64) or the equivalent for ARM and clickOpen
- Mount the Parallels Tools image to Linux virtual machine:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function commit-with-branch() { | |
# Get the current branch name | |
branch_name=$(git rev-parse --abbrev-ref HEAD 2>/dev/null) | |
# Check if we are on a valid branch | |
if [ -n "$branch_name" ]; then | |
# Read the commit message from the user | |
read -e -i "$branch_name: " commit_message | |
# Remove leading and trailing whitespace from the commit message |
To enable root SSH login in Ubuntu, edit the /etc/ssh/sshd_config file
, change the line PermitRootLogin
to yes
(or uncomment it if it's commented out), save the file, and restart the SSH service using sudo systemctl restart sshd.service.
- Open the SSH Configuration File:
- Use a text editor with root privileges to open the sshd_config file:
sudo nano /etc/ssh/sshd_config
- Locate the line that starts with PermitRootLogin. It might be commented out with a # at the beginning. Modify the Value:
- If the line is commented out, remove the # at the beginning.
- Change the value from
prohibit-password
(or whatever it is) toyes
. The line should look like this:PermitRootLogin yes
.
- Save the Changes: