r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

MaxV
30-Mar-2011
[4087x2]
I don't think you should care about that, just use:
username-a: "my_string"
username-b: "my_other_string"
call (reform [ "ssh" username-a   mycommands etc] )

However ssh stores files in 
~/.ssh/authorized_keys
See http://support.suso.com/supki/SSH_Tutorial_for_Linux
Andreas
30-Mar-2011
[4089x4]
The public keys are stored in $HOME/.ssh/authorized_keys for the 
respective users
Key-based SSH authentication is most convenient when used in combination 
with an "ssh agent" that holds the private keys and (temporarily) 
stores their passphrase
You can then just load multiple keys into your SSH agent, and all 
of them will be tried for authentication
So, as Max says, no need to associate usernames with keys in that 
keys (besides setting up $HOME/.ssh/authorized_keys correctly)
Robert
30-Mar-2011
[4093]
Ok, thanks. So do you know a SSH agent for OSX? Or is there a standard 
SSH agent CLI tool?
Andreas
30-Mar-2011
[4094]
the osx keychain should work for you
Robert
30-Mar-2011
[4095]
Ok, giving all this a try and let you know :-)
Andreas
30-Mar-2011
[4096]
http://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/
might help :)
Robert
9-Apr-2011
[4097x7]
When I have setup a portforwarding via SSH, how can I get rid of 
it?
And some more questions: I have a server that listens on port 44000 
in a VM. The VM is using NAT network. The VM NAT router is configured 
to forward port 44000 from the outside to the VM IP on port 44000.
When I use telnet localhost 44000 on the system the VM runs I get 
a connection but the listening server doesn't recognizses it as a 
connection.
When I use: ssh -L 44000:192.168.22.1:44000 [user-:-my_vm_server-:-com], 
from a remote machine, the SSH tunnel is setup and the login is done 
on my_vm_server.com
When I use telnet localhost 44000 from my_vm_server.com than, the 
connection is done and the listen server recognizes it.
When I use telnet localhost 44000 from the remote machine, which 
should tunnel through the SSH channel and forward to 192.168.22.1:44000 
on my_vm_server.com, I get a connection but the listen server doesn't 
recognize it...
Any idea, why the TCP/IP connections from the remote machines are 
not recognized?
Andreas
10-Apr-2011
[4104]
When I have setup a portforwarding via SSH, how can I get rid of 
it?


Close the SSH session or, if using OpenSSH, use ~C to enter the client's 
command-line and remove the (remote) forwarding with -KR<port>. You 
can't remove local forwardings this way, afaik.
Robert
10-Apr-2011
[4105]
Ok, thanks.
ddharing
15-Apr-2011
[4106]
The latest version of REBOL/View does NOT run on Ubuntu 11 Beta. 
I've tried it on two different machines. You get the old "Bad face 
in screen panel" error.


Does anyone have any ideas about what may be the problem? Ubuntu 
10.10 is fine.
Maxim
15-Apr-2011
[4107]
could it be no x11 installed ?
Izkata
15-Apr-2011
[4108]
Ubuntu is going to introduce Wayland, a replacement for X11, but 
from what I'm reading it shouldn't be default in 11.04
ddharing
15-Apr-2011
[4109]
I'm running Ubuntu Desktop. I've tried it on two laptops -- both 
with and without Unity.
GrahamC
15-Apr-2011
[4110x2]
did you check libraries?
ldd
Gabriele
16-Apr-2011
[4112]
might also just be missing bitmap fonts.
ddharing
16-Apr-2011
[4113]
I'll look into it. Thanks.
Andreas
2-May-2011
[4114x2]
>> system/version
== 2.7.8.4.2
>> view?
== true

>> call/output "lsb_release -a" out: copy ""
No LSB modules are available.
== 0
>> print out
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty
In plain English: /View 2.7.8.4.2 works fine (for me) on Ubuntu 11.04.
onetom
2-May-2011
[4116]
(u dont really have to say copy from the console)
Andreas
2-May-2011
[4117]
So I'd say the problem seems to be nothing intrinsic to REBOL, but 
probably something related to missing libraries.
MaxV
3-May-2011
[4118x2]
Confirmed, it doesn't work, even adding all dependencies:
libc6
libstdc++6
libx11-6
libxcb1
libxaw7
libfreetype6
libext6
libxt6
libxmu6
libgcc1
libsm6
libice6
libxpm4
zlib1g
libxau6
libxdmcp6
libuuid1
Do I missed any dependecies?
It appears in the console:
** User Error: Bad face in screen pane!
** Near: size-text self
so I think that it''s internal to Rebol...
Andreas
3-May-2011
[4120]
4.3 or 4.2?
onetom
3-May-2011
[4121]
MaxV: that bad face error message happens when u r trying to start 
a rebol/view without an actual x11 server. i was trying to trick 
it with xvfb and xvncserver but no luck
Andreas
3-May-2011
[4122x3]
install xfonts-100dpi and xfonts-75dpi and the problem should be 
gone
max, you can add those to your dependency list
(and you'll most certainly have to re-login to your x session after 
installing those packages.)
onetom
3-May-2011
[4125]
i was even trying ssh -X from a linux box but it didn't help either.
Andreas
3-May-2011
[4126]
install the bitmap fonts and you'll be fine
onetom
3-May-2011
[4127]
Andreas: but r u talking about starting /view on an actual X11 server? 
or is it possible to start it without a real X11 head?
Andreas
3-May-2011
[4128x4]
x forwarding (ssh -X) certainly works
xvfb should work as well, but i haven't tried it in ages
in both cases, you'll need the bitmap fonts installed in the respective 
x server
yes, xvfb works fine:
$ xvfb-run ./rebol -qsvw --do "print [system/version view?]"
2.7.8.4.2 true
MaxV
6-May-2011
[4132x2]
SOLVED!!! Added dependecies xfonts-100dpi and xfonts-75dpi !!!! Thank 
you very much Adnreas!!!!!!!!
You can download last linux packages from: 
http://www.maxvessi.net/rebsite/Linux/
If you use the linux packages, all dependencies are automatically 
downloaded!!!
BrianH
6-May-2011
[4134]
Max, have you looked into what would be required to get a proper 
repository for R2 and maybe R3 set up in multiverse?
jocko
6-May-2011
[4135]
tested :  installation ok
MaxV
9-May-2011
[4136]
I'm working to put in it on Launchpad