SSH Forwarding Error

Asked by Syed Ahsan Shamim Zaidi

Hello. I have some issues regarding SSH and i am unable to solve . I have completed bootstrap and node status is 1 node allocated to maas, Now when i do juju status, it says invalid ssh key , hostname cannot be found error. .. I then went to /etc/hosts file and i changed

127.0.0.1 localhost
to my
127.0.01 Node1

Now it gives me , error SSH forwading error: @@@@@@@@@@@@@@@@@@@@@@@@@@

I also have run the node after bootstrap and it gives ssh key .. I didnt added any ssh key in my Dashboard of MAAS.

Secondly i want to ask how can i make more nodes allocated to root?

Do i have to rewrite the maas-oauth portion in environment with another API key . Kindly Reply ASAP ....

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You need to be able to translate localhost to 127.0.0.1

you should change:

127.0.01 Node1

to

127.0.01 Node1 localhost

or a LOT of stuff won't work.

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) said :
#2

LOT stuff means ?

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) said :
#3

I changed As you told but still getting the error

2012-09-12 01:02:41,977 ERROR SSH Forwarding error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

sudo needs to be able to communicate via localhost, services needing to talk to each other use localhost to go via the network and send data to each other. It's pretty essential to the working of all modern operating systems

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

did you connect with:

ssh -X username@servername

Can you help with this problem?

Provide an answer of your own, or ask Syed Ahsan Shamim Zaidi for more information if necessary.

To post a message you must log in.