Ask Your Question
0

what's ssh password [closed]

asked 2015-05-01 06:24:08 -0500

cros gravatar image

when I use ssh,it ask me provide local's password,but I don't when I set,or how can I change it

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by 130s
close date 2015-05-02 02:41:07.266240

Comments

Please ask this question on more appropriate forum like some people already suggested.

130s gravatar image130s ( 2015-05-02 02:42:36 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-05-01 19:46:29 -0500

j12y gravatar image

This question doesn't seem specific to ROS. SSH (Secure Shell) is simply a way to connect from one host (computer) to another. Presumably the host you want to connect to has a login/password you can use to gain access. You didn't provide many details so I'll need to guess you are using Ubuntu. When you say "local's password" it almost sounds like you are trying to login to a host with a username of 'local'. By default it should use the username you are logged into a system as already, or can be provided a '-l' argument to provide a different username.

cros@hostnameA:~$ ssh hostnameB
cros@hostnameB's password: 

<your_username>@<your_hostname>:~$ ssh -l <diff_username> <another_hostname>

If you are new to linux,etc. I recommend starting with an introduction to SSH such as this one I randomly googled for... https://www.digitalocean.com/communit...

This guide for Ubuntu provides you some tutorials for basic operations of adding accounts, setting/changing passwords, etc. if you need help with that. https://help.ubuntu.com/stable/ubuntu...

Best of luck.

edit flag offensive delete link more

Comments

I use the ubuntu. when I read the book ros_by_example_hydro_volume,I found there is one chapter(4.12)named networking between a robot and a desktop computer.I do follow the book,but when I do as the chapter 4.12.6 runing nodes on both machines writed: ssh my_robot.local,the computer asked password

cros gravatar imagecros ( 2015-05-01 22:08:26 -0500 )edit
1

Do you have two machines? What is the hostname for each? That example is adding a '.local' to the end of the hostname for your computers and using zeroconf to make networking easier.

j12y gravatar imagej12y ( 2015-05-02 01:26:16 -0500 )edit
1

answered 2015-05-01 11:10:39 -0500

Use the password for the account on the computer you're trying to log into. If you don't know, you'll need admin access to the computer so you can change the password.

edit flag offensive delete link more

Comments

password of the account on the computer is useless,which is the only passwrod I know .so I don't know which is the ssh password.

cros gravatar imagecros ( 2015-05-01 21:58:19 -0500 )edit

We don't know anything about your system's configuration - you haven't provided us with the information., Regardless, this seems like a better question for StackOverflow.com .

Adam Allevato gravatar imageAdam Allevato ( 2015-05-01 22:16:11 -0500 )edit

thank you all the same

cros gravatar imagecros ( 2015-05-01 22:36:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-05-01 06:24:08 -0500

Seen: 448 times

Last updated: May 01 '15