Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Tzafrir Cohen
On Tue, Apr 28, 2009 at 11:10:30AM +0300, Rami Addady wrote: > Hi, > > > I have weird problem , staring this morning I can't ssh to a server in > US, from some computers that connect to the Internet using 012 cabels. > > But if I'm ssh to server in 012 farm and then from it to the US server >

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Shay Ohayon
Hello folks, I am also connected through 012 Cables (HOT) and am unable to connect (ssh) to servers in The Netherlands and US. Also tried talking to tech support and they didn't even had a clue. Please update if any of you got a solution (or any support from any of the companies). For the record

Re: another c++ q (with specialization and inheritance )

2009-04-28 Thread Oleg Goldshmidt
Oleg Goldshmidt writes: >>     c2 gen_c2(int a) >>     { >>     c2 ret(a); > > This is where you *instantiate* an object of type c2, so you > cannot specialize the template later, as the compiler tells you. The compiler and Shachar... I was not attentive enough reading his po

Re: another c++ q (with specialization and inheritance )

2009-04-28 Thread Oleg Goldshmidt
Erez, None of this is Linux-specific, maybe you should find a good C++ forum, e.g., comp.lang.c++.moderated? However, since you asked, here is an explanation. You should understand the difference between definition and declaration, and also that if you define a template, then instantiate an obj

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Ira Abramov
Quoting Tomer Cohen, from the post of Tue, 28 Apr: > Hi, > > I had the same issue yesterday evening (012, cable). After few hours I > periodically tried, I was able to access the machines (one is located in > Dreamhost, the other at sourceforge.net), but very slowly and with sudden > disconnection

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread sara fink
Please follow these steps: 1. I will highly suggest to launch wireshark when you try to ssh. If you see a RST, I won't be surprised at all. You may see a RST that comes from your ip. Don't be surprised. 2. You must understand the following thing: they have clients rank A and clients rank D. fro

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Tomer Cohen
Hi, I had the same issue yesterday evening (012, cable). After few hours I periodically tried, I was able to access the machines (one is located in Dreamhost, the other at sourceforge.net), but very slowly and with sudden disconnections after about one minute of each connection. On Tue, Apr 28,

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Rami Addady
Hi, Can you provide the server logs? (The connected site) There are no new entry in /var/log/secure ou can also try and run it with '-v' to add verbosity there too. The -v output can be found in my first post Thank, Rami Noam Meltzer wrote: Can you provide the server logs? (The

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Noam Meltzer
Can you provide the server logs? (The connected site) It can easily shed light on the subject. On RHEL the log file in interest is /var/log/secure. - Noam On Tue, Apr 28, 2009 at 11:10 AM, Rami Addady wrote: > Hi, > > > I have weird problem , staring this morning I can't ssh to a server in US,

Re: ssh from 012 cable to server in US fail

2009-04-28 Thread Yedidyah Bar-David
On Tue, Apr 28, 2009 at 11:10:30AM +0300, Rami Addady wrote: > Hi, > > > I have weird problem , staring this morning I can't ssh to a server in > US, from some computers that connect to the Internet using 012 cabels. > > But if I'm ssh to server in 012 farm and then from it to the US server >

Re: another c++ q (with specialization and inheritance )

2009-04-28 Thread Shachar Shemesh
Erez D wrote: Try to have gen_c2 return a pointer to c2. That may resolve the problem. no, it doesnt. i am sure that there is a solution to this. Try to have gen_c2 return a pointer to c2, and place the actual function body definition after the definition of c2. If that fails, ha

Re: another c++ q (with specialization and inheritance )

2009-04-28 Thread Erez D
On Tue, Apr 28, 2009 at 11:08 AM, Shachar Shemesh wrote: > Erez D wrote: > > c2 gen_c2(int a) > { > c2 ret(a); > return ret; > } > > It would seem to me that this line instantiates c2, so that > > template <> class c2 : public c1 > { > publi

ssh from 012 cable to server in US fail

2009-04-28 Thread Rami Addady
Hi, I have weird problem , staring this morning I can't ssh to a server in US, from some computers that connect to the Internet using 012 cabels. But if I'm ssh to server in 012 farm and then from it to the US server is work fine! I called 012 technical support but they didn't help me.

Re: another c++ q (with specialization and inheritance )

2009-04-28 Thread Shachar Shemesh
Erez D wrote: c2 gen_c2(int a) { c2 ret(a); return ret; } It would seem to me that this line instantiates c2, so that template <> class c2 : public c1 { public: c2(int &a):c1(a) {}; }; is an attempt to specialized a class that has

another c++ q (with specialization and inheritance )

2009-04-28 Thread Erez D
i am having problems compiling the following code: #if 1 template class c1 {}; template class c2 : public c1 { public: c2(T &a); }; #else template class c1; template class c2; #endif template <> class c1 { int m_a; public: c1():m_a(