@NotRealZeyad said: @Not_Oles I am kinda an idiot and made you set the new public key to the old one sorry for wasting a lot of time the actual new key is AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu again sorry for wasting a lot of time I can sometimes be stupid I made sure this time the private and public keys match
Hi @NotRealZeyad ,
I added the new key for you. You can remove the old one yourself from .ssh/authorized_keys if you don't need it anymore.
Ok are you Not Oles helper?
Yes, due to the increased number of users, I am helping Not_Oles out with MetalVPS as a volunteer.
currently am trying to login but it gives me an error of permission denied public key even tho I made sure the public key is correct
Oh yes I forgot put the ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfU
@NotRealZeyad said: @Not_Oles I am kinda an idiot and made you set the new public key to the old one sorry for wasting a lot of time the actual new key is AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu again sorry for wasting a lot of time I can sometimes be stupid I made sure this time the private and public keys match
Hi @NotRealZeyad ,
I added the new key for you. You can remove the old one yourself from .ssh/authorized_keys if you don't need it anymore.
Ok are you Not Oles helper?
Yes, due to the increased number of users, I am helping Not_Oles out with MetalVPS as a volunteer.
currently am trying to login but it gives me an error of permission denied public key even tho I made sure the public key is correct
Can you confirm that at least one of the following public keys is correct?
root@fsn ~ # cat /home/zeyad/.ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy eddsa-key-20230426
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu
If yes, did you set the corresponding private key as key in your SSH client?
@NotRealZeyad said: @Not_Oles I am kinda an idiot and made you set the new public key to the old one sorry for wasting a lot of time the actual new key is AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu again sorry for wasting a lot of time I can sometimes be stupid I made sure this time the private and public keys match
Hi @NotRealZeyad ,
I added the new key for you. You can remove the old one yourself from .ssh/authorized_keys if you don't need it anymore.
Ok are you Not Oles helper?
Yes, due to the increased number of users, I am helping Not_Oles out with MetalVPS as a volunteer.
currently am trying to login but it gives me an error of permission denied public key even tho I made sure the public key is correct
Can you confirm that at least one of the following public keys is correct?
root@fsn ~ # cat /home/zeyad/.ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy eddsa-key-20230426
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu
If yes, did you set the corresponding private key as key in your SSH client?
Last one is correct and yes I did
in my Private key it says
Public Lines 2:
AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6
uWfU
@NotRealZeyad I just re-set the correct permissions for the .ssh/ folder and the .ssh/authorized_keys file. Can you check again if you can connect now?
If it doesn't work, which SSH client are you using?
@Yqua said: @NotRealZeyad I just re-set the correct permissions for the .ssh/ folder and the .ssh/authorized_keys file. Can you check again if you can connect now?
If it doesn't work, which SSH client are you using?
@Yqua said: @NotRealZeyad I just re-set the correct permissions for the .ssh/ folder and the .ssh/authorized_keys file. Can you check again if you can connect now?
If it doesn't work, which SSH client are you using?
Still cant connect am using PuTTY btw
I am not an expert on Putty, but it looks to me like your private key is not set in Putty's configuration.
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
Hi sorry for putting the wrong format
Here the right one
@NotRealZeyad said: @Yqua Try to make Password Authentication to true cuz I have password on it
I won't do that (Maybe @Not_Oles would do it, but I don't think so.) Password Authentication is, at least in my eyes, not secure enough. Please try it again with another SSH Client.
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
Hi sorry for putting the wrong format
Here the right one
Since you are new here at LES, would you like to introduce yourself? I'm sure everybody would be glad to hear a little about who (Ngoc Nguyen?) and where you are, your education, work, hobbies, etc. What are your computer interests? What do you want to do on the server?
@Not_Oles said:
Looks like the reboot went okay. @dinopotato's VPSes automagically restarted. Gives him a chance to post about how he set up autoboot if he wants to share. Congrats @dinopotato!
i have no ideas about this lol
i just saw the message about restart and i wait unti
Haha, shows how wrong I can be! And maybe how slow I can be too! I guess @dinopotato must have logged in ahead of me after the reboot. Friendly greetings!
FWIW, I'd usually add a @reboot cron job to the user's crontab that then runs the desired command in a screen session (tmux would probably also work), so I can attach to it later on.
Wait! Aren't we supposed to use systemd for this kind of stuff?
notoles@fsn:~$ which crontab
/usr/bin/crontab
notoles@fsn:~$ ls -l /usr/bin/crontab
-rwxr-sr-x 1 root crontab 43648 Mar 2 07:33 /usr/bin/crontab
notoles@fsn:~$ man crontab
CRONTAB(1) General Commands Manual CRONTAB(1)
NAME
crontab - maintain crontab files for individual users (Vixie Cron)
SYNOPSIS
crontab [ -h]
crontab [ -u user ] [-n] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
DESCRIPTION
crontab is the program used to install, deinstall or list the tables used to drive the cron(8) daemon
in Vixie Cron. Each user can have their own crontab, and though these are files in
/var/spool/cron/crontabs, they are not intended to be edited directly.
If the /etc/cron.allow file exists, then you must be listed (one user per line) therein in order to be
allowed to use this command. If the /etc/cron.allow file does not exist but the /etc/cron.deny file
does exist, then you must not be listed in the /etc/cron.deny file in order to use this command.
If neither of these files exists, then depending on site-dependent configuration parameters, only the
super user will be allowed to use this command, or all users will be able to use this command.
[ . . . ]
notoles@fsn:~$ crontab -u notoles -h
usage: crontab [-u user] [-n] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
-h (displays this help message)
file (default operation is replace, per 1003.2)
-n (dry run: checks the syntax, then bails out)
-u user (choose the user whose crontab is touched)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)
notoles@fsn:~$
So I haven't yet tried crontab as an unprivileged user. There seems to be neither the /etc/cron.allow nor the /etc/cron.deny file on our server. If somebody wants to try crontab before I get around to it, please let us know.
@Not_Oles said:
Looks like the reboot went okay. @dinopotato's VPSes automagically restarted. Gives him a chance to post about how he set up autoboot if he wants to share. Congrats @dinopotato!
i have no ideas about this lol
i just saw the message about restart and i wait unti
Haha, shows how wrong I can be! And maybe how slow I can be too! I guess @dinopotato must have logged in ahead of me after the reboot. Friendly greetings!
FWIW, I'd usually add a @reboot cron job to the user's crontab that then runs the desired command in a screen session (tmux would probably also work), so I can attach to it later on.
Wait! Aren't we supposed to use systemd for this kind of stuff?
notoles@fsn:~$ which crontab
/usr/bin/crontab
notoles@fsn:~$ ls -l /usr/bin/crontab
-rwxr-sr-x 1 root crontab 43648 Mar 2 07:33 /usr/bin/crontab
notoles@fsn:~$ man crontab
CRONTAB(1) General Commands Manual CRONTAB(1)
NAME
crontab - maintain crontab files for individual users (Vixie Cron)
SYNOPSIS
crontab [ -h]
crontab [ -u user ] [-n] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
DESCRIPTION
crontab is the program used to install, deinstall or list the tables used to drive the cron(8) daemon
in Vixie Cron. Each user can have their own crontab, and though these are files in
/var/spool/cron/crontabs, they are not intended to be edited directly.
If the /etc/cron.allow file exists, then you must be listed (one user per line) therein in order to be
allowed to use this command. If the /etc/cron.allow file does not exist but the /etc/cron.deny file
does exist, then you must not be listed in the /etc/cron.deny file in order to use this command.
If neither of these files exists, then depending on site-dependent configuration parameters, only the
super user will be allowed to use this command, or all users will be able to use this command.
[ . . . ]
notoles@fsn:~$ crontab -u notoles -h
usage: crontab [-u user] [-n] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
-h (displays this help message)
file (default operation is replace, per 1003.2)
-n (dry run: checks the syntax, then bails out)
-u user (choose the user whose crontab is touched)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)
notoles@fsn:~$
So I haven't yet tried crontab as an unprivileged user. There seems to be neither the /etc/cron.allow nor the /etc/cron.deny file on our server. If somebody wants to try crontab before I get around to it, please let us know.
So you can also try screen command
Its will keep that task run but your ssh can close, its dont work if server restart (yep)
Look at my uptime (my sleep time actually lol) if i use screen command
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
Hi sorry for putting the wrong format
Here the right one
Since you are new here at LES, would you like to introduce yourself? I'm sure everybody would be glad to hear a little about who (Ngoc Nguyen?) and where you are, your education, work, hobbies, etc. What are your computer interests? What do you want to do on the server?
Again, welcome to LES and to MetalVPS!
Best wishes!
Tom
I’m Ngoc Nguyen
I’m from Hanoi, Vietnam
My education is grade 11
My hobbies is to play roblox and mess around with computer stuff
My interest is to be able learn something on vm
And I love to have a vps myself
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
Hi sorry for putting the wrong format
Here the right one
Since you are new here at LES, would you like to introduce yourself? I'm sure everybody would be glad to hear a little about who (Ngoc Nguyen?) and where you are, your education, work, hobbies, etc. What are your computer interests? What do you want to do on the server?
Again, welcome to LES and to MetalVPS!
Best wishes!
Tom
I’m Ngoc Nguyen
I’m from Hanoi, Vietnam
My education is grade 11
My hobbies is to play roblox and mess around with computer stuff
My interest is to be able learn something on vm
And I love to have a vps myself
Password access has been disabled. You need your key to log in.
Your password is in a mode 600 file in your home directory.
Your password might be needed later for sudo. But you have not yet been added to the sudo group.
Feel free to change your password.
You have been added to the kvm group.
If you want to make a KVM VPS it is recommended to start with slirp following this tutorial.
Alternatives include setting up proot as described earlier in this thread.
Additional node configuration might be needed for LXC and non-slirp qemu.
Please post your questions and progress reports and tutorials here in this thread. It benefits everyone to help answer everyone else's questions and to learn from everyone else's progress reports and tutorials. So, please post here instead of sending me PMs (although PMs are okay if privacy really is necessary).
It's wonderful to have you as our new neighbor! Thank you for joining!
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
@NgocNguyen8372 said:
Hi I am NgocNguyen
I would love to try this vps so I can run VM and stuff thanks!
ssh-ed25519 255 SHA256:e30mHWxpbhrOM6KszuRyUu6HgSiaEYIQZOUNyB0xPc4
Hi sorry for putting the wrong format
Here the right one
Since you are new here at LES, would you like to introduce yourself? I'm sure everybody would be glad to hear a little about who (Ngoc Nguyen?) and where you are, your education, work, hobbies, etc. What are your computer interests? What do you want to do on the server?
Again, welcome to LES and to MetalVPS!
Best wishes!
Tom
I’m Ngoc Nguyen
I’m from Hanoi, Vietnam
My education is grade 11
My hobbies is to play roblox and mess around with computer stuff
My interest is to be able learn something on vm
And I love to have a vps myself
Password access has been disabled. You need your key to log in.
Your password is in a mode 600 file in your home directory.
Your password might be needed later for sudo. But you have not yet been added to the sudo group.
Feel free to change your password.
You have been added to the kvm group.
If you want to make a KVM VPS it is recommended to start with slirp following this tutorial.
Alternatives include setting up proot as described earlier in this thread.
Additional node configuration might be needed for LXC and non-slirp qemu.
Please post your questions and progress reports and tutorials here in this thread. It benefits everyone to help answer everyone else's questions and to learn from everyone else's progress reports and tutorials. So, please post here instead of sending me PMs (although PMs are okay if privacy really is necessary).
It's wonderful to have you as our new neighbor! Thank you for joining!
Comments
Oh yes I forgot put the ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfU
Can you confirm that at least one of the following public keys is correct?
root@fsn ~ # cat /home/zeyad/.ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy eddsa-key-20230426
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFQmGObRXJDh4ghN1NlrrxFWHW5PKBg8ByUAJ8WsuCy
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6uWfu
If yes, did you set the corresponding private key as key in your SSH client?
Last one is correct and yes I did
in my Private key it says
Public Lines 2:
AAAAC3NzaC1lZDI1NTE5AAAAIGaBSZZxofHNojkMp09VE+lWpjOUvxpiaZtMM0h6
uWfU
@NotRealZeyad I just re-set the correct permissions for the .ssh/ folder and the .ssh/authorized_keys file. Can you check again if you can connect now?
If it doesn't work, which SSH client are you using?
Still cant connect am using PuTTY btw
I am not an expert on Putty, but it looks to me like your private key is not set in Putty's configuration.
I just did it
Windows 10 but apps in OOBE (Out-Of-Box Expirement)
I want to try something crazylike make servers, or Play games, edit videos
@Yqua Try to make Password Authentication to true cuz I have password on it
Hi sorry for putting the wrong format
Here the right one
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINJuWhz2Bdz1oMXWkhqOgdRQQL4/ntWtNyfUt9NqhrkF eddsa-key-20230429
Also sorry for long wait
nah bro people always use sshkeys also its more better than password
also did u try lower case if you use Uppercase
ssh keys can have passwords on it
I won't do that (Maybe @Not_Oles would do it, but I don't think so.) Password Authentication is, at least in my eyes, not secure enough. Please try it again with another SSH Client.
Wait, you set an password on your ssh key? Then you need to use a software like Pageant (which is included with Putty) to use the ssh key.
Can I re change the new ssh key to new one this time without password
Also delete the other ones
Yes, you can. Just send your new public key in this thread.
Here is one without a password ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBUp/JhS4fx3Ht9SSaZaeC/OGP9vGwZ31j+KwakhVDxR
and made sure its correct
Also am very sorry that this conversation is taking a bit of time am new to dealing with ssh
I just added your new SSH Key and removed the old ones.
ok hopefully it now works
It works thank you man!
Hi @NgocNguyen8372!
Your key looks okay now. Thanks for the update.
Since you are new here at LES, would you like to introduce yourself? I'm sure everybody would be glad to hear a little about who (Ngoc Nguyen?) and where you are, your education, work, hobbies, etc. What are your computer interests? What do you want to do on the server?
Again, welcome to LES and to MetalVPS!
Best wishes!
Tom
MetalVPS
Wait! Aren't we supposed to use systemd for this kind of stuff?
So I haven't yet tried
crontab
as an unprivileged user. There seems to be neither the/etc/cron.allow
nor the/etc/cron.deny
file on our server. If somebody wants to trycrontab
before I get around to it, please let us know.See also https://askubuntu.com/questions/216692/where-is-the-user-crontab-stored about crontab upgrade deletions and the importance of backups. Please note that we're running Debian.
Thanks to @cmeerw for contributing extra fun!
MetalVPS
Welcome @Yqua! Thank you so much! 🌟🌟🌟🌟🌟
MetalVPS
So you can also try
screen
commandIts will keep that task run but your ssh can close, its dont work if server restart (yep)
Look at my uptime (my sleep time actually lol) if i use
screen
commandI’m Ngoc Nguyen
I’m from Hanoi, Vietnam
My education is grade 11
My hobbies is to play roblox and mess around with computer stuff
My interest is to be able learn something on vm
And I love to have a vps myself
Hi @NgocNguyen8372!
Welcome aboard at MetalVPS! Hope you have fun with your new account!
Here you can check my work:
Here, again, are some basics:
It's wonderful to have you as our new neighbor! Thank you for joining!
Best wishes!
Tom
MetalVPS
Thank but where do I login
I imagine it would be