General TC > General TC Talk
Password
MTCAT:
Hi everyone,
On Tinycore 3.8.4 (kernel 2.6.33) I'm trying to copy some files off my VortexDX3 CF card, onto an external SSD over a 100 Mbit ethernet port, after setting the IP address on my little ASUS EEE laptop to 172.16.1.20, and getting ssh up and running on the TinyCore VortexDX3, from the ASUS laptop I can successfully execute;
--- Code: ---ping 172.16.1.98
--- End code ---
So we have a connection there!, on the VortexDX3 I also made sure that ssh is listening to port 22 with
--- Code: ---sudo netstat -tupan
--- End code ---
And ssh is indeed running and listening to port22 on the DX3.
But, when I type (on the ASUS EEE laptop)
--- Code: ---scp tc@172.16.1.98:/home/tc/data/* .
--- End code ---
So as to copy all the files in /home/tc/data into the current directory on the external SSD, I get a prompt asking for the password for tc, I also tried the above command with "sudo" and same thing, need the password for tc.
What is the password for tc?I thought it was an empty string, just simply hit return, but that isn't working.
Hoping someone can see what I'm doing wrong.
Thanks,
David
mocore:
--- Quote from: MTCAT on February 25, 2026, 02:50:31 PM ---What is the password for tc?
I thought it was an empty string, just simply hit return, but that isn't working.
--- End quote ---
imho that is the wrong question
likely more relevant question(s) might be
-- what is the default ssh configuration?
&
-- how to configure ssh auth with / without password ?
afaik this is less about tc and more about ssh (*defaults)
though the interplay/combination of the two appears to be the source of your confusion
see also
https://unix.stackexchange.com/questions/582315/can-a-user-with-no-password-set-login-with-ssh
patrikg:
When dealing with ssh you need to set a password or use PKI, like copy the public key to the computer you tries to connect to.
There are a lot of guides how to deal with this in ssh. And i think you can also config the ssh server to accept none password.
But that of course is very insecure.
MTCAT:
Hi mocore and patrikg,
Thanks for the help, I'll look in the ssh_config file and see what's in there, and read up on ssh options more, I need to learn more about ssh obviously!
I could also just set a password for user tc, just hoping that wouldn't cause permission issues with all the scripts in bootlocal.sh and ~/.X.d.
Thanks,
David
patrikg:
You should of course look at the server config sshd_config file. Not the client config (ssh_config).
Navigation
[0] Message Index
[#] Next page
Go to full version