Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 03, 2011 4:56 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
I am using firefox and I cannot paste anything in the lish console. I tried to create the user.js file, but still not working.

Any help would be appreciated.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:06 am 
Offline
Senior Member

Joined: Mon Sep 12, 2011 3:29 am
Posts: 63
ICQ: 1081190
Website: http://kyhwana.org
AOL: kyhwana
Location: New Zealand
I assume you're using the AJAX terminal?
Just click the paste button. If it says access denied, click the "more info" link and do what it says there. :)


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:08 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
This is what I did and it did not work for me as I said in the first post.

What did you add to user.js file? I added this
Code:
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "https://manager.linode.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");


What am I doing wrong?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:18 am 
Offline
Senior Member

Joined: Mon Sep 12, 2011 3:29 am
Posts: 63
ICQ: 1081190
Website: http://kyhwana.org
AOL: kyhwana
Location: New Zealand
Did you restart firefox? Did you put user.js in the right place?

Have you tried using the lish console via SSH? that's a lot better than the AJAX terminal.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:22 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
kyhwana wrote:
Did you restart firefox? Did you put user.js in the right place?


Yes many time and yes, I opened about:config and from there went to the profile directory and created the file user.js

kyhwana wrote:
Have you tried using the lish console via SSH? that's a lot better than the AJAX terminal.


I cannot access anything via ssh because of the firewall we have at work, this is why I use the AJAX terminal.

Any other clues?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:43 am 
Offline
Junior Member
User avatar

Joined: Tue Apr 28, 2009 8:57 pm
Posts: 38
Location: Pale Blue Dot
fernandoch wrote:
I cannot access anything via ssh because of the firewall we have at work, this is why I use the AJAX terminal.

Any other clues?


Your firewall company isn't blocking all ports for sure, find which one is open and useful for you, i.e. port 443 and change your ssh listening port to that in your server or talk to your company's sysadmins about your needs.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:45 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
I already did that too and it did not work.

So I should give up on pasting on AJAX console?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 10:03 am 
Offline
Senior Member

Joined: Sat Feb 14, 2009 1:32 am
Posts: 123
advocatux wrote:
fernandoch wrote:
I cannot access anything via ssh because of the firewall we have at work, this is why I use the AJAX terminal.

Any other clues?


Your firewall company isn't blocking all ports for sure, find which one is open and useful for you, i.e. port 443 and change your ssh listening port to that in your server or talk to your company's sysadmins about your needs.


Some firewalls block based off of protocol and not based off of port. Many companies also will not outbound SSH access in order to prevent data loss and bypassing security controls.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 10:04 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
Is there a way to make the AJAX console work?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 5:17 pm 
Offline
Senior Member

Joined: Sun Oct 30, 2005 7:52 pm
Posts: 97
fernandoch wrote:
I cannot access anything via ssh because of the firewall we have at work, this is why I use the AJAX terminal.


Sorry I don't have a suggestion for you with the AJAX terminal. But just to make sure, you are aware LISH listens on ports 22, 443 and 2200. You must work in very paranoid environment, if you can't ssh to LISH on port 443.

--
Travis


Top
   
 Post subject:
PostPosted: Fri Oct 07, 2011 6:17 am 
Offline
Senior Member

Joined: Fri May 20, 2011 2:45 am
Posts: 63
Location: Spain
I am in a very secured environment.

So there is no way to paste in the firefox lish ajax console?

Has anyone been able to configure it?


Top
   
 Post subject:
PostPosted: Fri Oct 07, 2011 9:06 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
fernandoch wrote:
I am in a very secured environment.


I think you mean "crippled environment". One of the important facets of security is being able to do what you need to do, and nothing outside of that. So if you need to access lish, but cannot, crippled is a better fit.

That said, the ajax terminal is old and glitchy, which is why the real answer is "lish over ssh", or "regular ssh to your node".

Have you actually tried connecting to lish via 443? Because unless they're actually inspecting the traffic, I doubt they're doing anything to block the https port.

If they are, then I would suggest talking to the IT people where you are, or management, or both, and explain why you need access to lish to do what you need to do, and convince them to fix it.


Top
   
 Post subject:
PostPosted: Fri Oct 07, 2011 9:13 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
akerl wrote:
fernandoch wrote:
I am in a very secured environment.


I think you mean "crippled environment". One of the important facets of security is being able to do what you need to do, and nothing outside of that. So if you need to access lish, but cannot, crippled is a better fit.


You assume that he's working on something for his work. I have the same issue, can only hit ajaxterm from work, but guess what? My linodes aren't for work. So they have no reason to give me access.


Top
   
 Post subject:
PostPosted: Fri Oct 07, 2011 10:09 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
glg wrote:
You assume that he's working on something for his work. I have the same issue, can only hit ajaxterm from work, but guess what? My linodes aren't for work. So they have no reason to give me access.


I made that assumption on purpose. If it's blocked at work, and it's not work related, I have no intention of helping him circumvent the security.


Top
   
 Post subject:
PostPosted: Fri Oct 07, 2011 10:19 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
glg wrote:
You assume that he's working on something for his work. I have the same issue, can only hit ajaxterm from work, but guess what? My linodes aren't for work. So they have no reason to give me access.


If ssh is blocked, and there's no business case to be made for allowing an exception, there's a decent chance you're violating some security policy. This can be a career-limiting move, or at least justification for career limitation for some otherwise-insufficient cause. (I've been down this road. It's an awkward road, but now I don't have to wear a tie, so it's all good.)

akerl wrote:
I made that assumption on purpose. If it's blocked at work, and it's not work related, I have no intention of helping him circumvent the security.


I dunno, I want to do it because I'm lazy. If I'm already logged into the Linode manager, it reduces the amount of password entry to accomplish quick tasks on newly-deployed systems. We can all aspire to laziness, no?

That said, I currently have:

Code:
rtucker@witte:~$ cat .mozilla/firefox/*.default/user.js
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "https://console-newark.linode.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");


and it is showing up in prefs.js after a restart:

Code:
rtucker@witte:~$ grep capability .mozilla/firefox/*.default/prefs.js
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.sites", "https://console-newark.linode.com");
user_pref("capability.policy.policynames", "allowclipboard");


... but pasting does not yet work. (Firefox 3.6.23, Ubuntu 10.04 x86_64 package 3.6.23+build1+nobinonly-0ubuntu0.10.04.1)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group