What password should I enter for SSH? [closed] - ssh

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to learn how to use SSH and it's kinda hard for me. I installed PuTTY (windows 7 32-bit). It asked for my IP so I searched 'What is my ip' and pasted it in. Then in the 'command prompt style box' I entered my username 'dell'. Now it's asking for password. I'm really confused because my laptop has no password and there's no password I know of. Can you guys help?
Entering nothing doesn't work:

Putty is just a command line interface, that will allow you to run commands like ssh.
However, if you want to SSH into your machine you have to install an SSH server on your machine.
There are multiple solution on the web:
https://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-windows-7-using-cygwin/

122.162.179.255 is likely the IP address of your network router / ADSL modem / etc and not your Windows PC (which won't have an SSH server installed by default).
There really is very little to learn about SSH itself, at least for basic day to day use.
If you want to learn how to use a UNIX-style command prompt then consider installing WSL or setting up a Linux installation on a separate computer (maybe a Raspberry Pi).

Related

how to connect raspbian strech over SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I just upgraded the ssd card to 2018-11-13-raspbian-stretch-lite. Hence, no screen, no keyboard, just headless. With the version before I used SSH to acess the raspberrypi 3. But now i have trouble. SSH is disabled by default. Could be overcome by writing an empty file named ssh into / . Fine, should be easy, but it isn't. I tried to mount the ssd-card in a card reader from a linux computer. This would allow to write the required empty file with cat /dev/null > /mnt/rasp/ssh , but it doesn't work, because the device is mounted read only indepent of how I try to mount for read-write!
Has anybody an Idea how to open the ssh, maybe over USB-Telnet, or what ever?
You have to create a file called ssh in the boot partition, not the root partition.
You can also create a file called wpa_supplicant in the same place and your RasPi will join your wifi network.
You'll probably be able to ssh into it with:
ssh pi#raspberrypi.local
If not, look in your router's "DHCP clients" table or use nmap to get its IP address. Or install the fing app in your smartphone and it'll tell you the IP addresses and host/OS of all your network clients.

SCP File Transfer Between Pi and Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
With pscp in windows command line, i can send file from Windows to Pi or i can copy a file from Pi to Windows. But opposite does not work. I cant send a file from pi to windows with pi's terminal.
scp text.txt username#192.168.1.100:C:/Users/Desktop/
or C/Users/Desktep with out colon.
Both does not work. It returns nothing. After few minutes it says connection timed out.
scp is a client that connects to a server. Your Pi is running an SSH server which allows you to connect to it from other machines using pscp or scp (depending on what OS). So to make it work the other way, you need to install an SSH server on your windows machine.
I followed this article to install on my windows machine:
http://linuxbsdos.com/2015/07/30/how-to-install-openssh-on-windows-10/
Sometime in the future based on the announcement by Microsoft at http://blogs.msdn.com/b/powershell/archive/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh.aspx it appears Windows will have SSH server.

SFTP through ssh node [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm trying to set up an sftp on a networked server. I can access the machine through the outside world by first ssh'ing into a network login server through the following process:
ssh [network-username]#login.server.co.uk
then, once logged in
ssh [server-username]#[hostname]
Is there anyway to sftp into the networked server? I cant find a way to add the initial step into the login process.
Thanks!
You have not specified what SFTP client you are using.
In general, some SFTP clients DO allow SSH tunneling.
WinSCP for instance.
See Connect to FTP/SFTP server which can be accessed via another server only.
OpenSSH suite allows that too.
For example see Forward SSH traffic through a middle machine.
(I'm the author of WinSCP)

Adding a new computer's ssh key to a server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have a server that currently accepts passwordless ssh login on my desktop computer. Now I want to log into the server using my laptop. If I didn't have access to my desktop computer, how would I be able to add my laptops ssh key? In fact every time I try to ssh into the server from my laptop, it asks me for the password. I'm not sure what this is asking for, what password is it referring to? None of the passwords that I know works, it's always giving back permission denied. Is it the private ssh key I setup from my desktop computer?
Basically, how would I login to the server from the laptop?
This is on a digital ocean server. I changed the sshd_config file and allowed by uncommenting:
PasswordAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
Apparently both of the above were commented out even when my passwordless ssh worked from the desktop computer. How could this happen?
I know I can do ssh-copy-id, but doesn't that require me to be able to SSH into the server in the first place? With no access to the desktop workstation, there's no way to access the server in any way!
Your question is not very clear. Anyway:
When you login to a server, you are asked the password of the remote user on that server. This user is usually specified when doing ssh:
ssh remote_user#server
However, it is possible to login without a password or with a passphrase (i.e., a password on the local PC used to encrypt the real ssh password). This is well explained here. In practice, a ssh password is stored on your local computer and used to automatically connect to the remote server. This password is encrypted and can be protected by a passphrase.

How can I find a locked MAC address? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have 40 computers in my lab and I have locked each computer with MAC address so people won't be able to unplug the network cable and connect it to their laptops.
I was wondering, if a laptop is connected via one of those cables, can he do some actions and discover the locked MAC.
I know I can find the locked MAC by running ipconfig /all on the computer in the lab. but if it's locked by a password I can't.
I am searching for the commands that I can run on the laptop (while pluged via the network cable) that will give me the MAC address of the computer's lab (The locked address).
(BTW, I'm running windows 7)
Thank you very much!
Amihay
If the laptop is running Linux:
sudo tshark -n arp
should net a few valid MAC addresses.
Not sure if it'll help because its windows,
From a windows Shell
net view
nbtstat -a COMPUTER-NAME