Gerrit Stream Events

463 views
Skip to first unread message

Sammi

unread,
Jul 9, 2015, 1:50:08 PM7/9/15
to repo-d...@googlegroups.com
Hi All - I'm trying to run gerrit stream events and keep getting permission denied and not sure why I'm getting this.

Below is the command I'm running....

[app@myserver ~]$ sudo ssh -p 29418 192.36.124.129 testuser stream-events

Permission denied (publickey).


Any help would be appreciated!!!

Regards
Sammi

Bassem Rabil

unread,
Jul 9, 2015, 1:59:18 PM7/9/15
to repo-d...@googlegroups.com
You might be missing adding the global capability for stream events[1] to the user running the command, also you need to add the public ssh key of the user running the stream events using Gerrit web UI.

Sammi

unread,
Jul 9, 2015, 2:14:17 PM7/9/15
to repo-d...@googlegroups.com
Thanks for the reply Bassem!!!

I am the admin and I already copied my public keys into Gerrit UI.

Regards
Sammi

Vlad Canţîru

unread,
Jul 9, 2015, 2:26:22 PM7/9/15
to Sammi, repo-d...@googlegroups.com
Most likely your command should be:
sudo ssh -p 29418 test...@192.36.124.129 gerrit stream-events

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Blewitt

unread,
Jul 9, 2015, 2:39:56 PM7/9/15
to Vlad Canţîru, Sammi, repo-d...@googlegroups.com
Running it as sudo sounds like a bad idea. 

Sent from my iPhat 6

Sammi

unread,
Jul 9, 2015, 2:40:12 PM7/9/15
to repo-d...@googlegroups.com, samm...@gmail.com
Thanks Evlacan, but I'm still seeing the same error :( even with sudo

Sammi

unread,
Jul 9, 2015, 4:32:09 PM7/9/15
to repo-d...@googlegroups.com
This issue is resolved, I was not using user name in the below command.

ssh -p 29418 testuser@<hostname> gerrit stream-events

Regards
Sammi
Reply all
Reply to author
Forward
0 new messages